fix more typos
This commit is contained in:
parent
a1f1211dcf
commit
a1413c7cd7
2 changed files with 2 additions and 2 deletions
|
@ -512,7 +512,7 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca
|
|||
}
|
||||
|
||||
@Override
|
||||
public void updateLocation(Location location) {
|
||||
public void updateLocation(LatLon location) {
|
||||
for (WeakReference<Fragment> ref : fragList) {
|
||||
Fragment f = ref.get();
|
||||
if (f instanceof DashFavoritesFragment && !f.isDetached()) {
|
||||
|
|
|
@ -69,7 +69,7 @@ public class DashFavoritesFragment extends DashBaseFragment {
|
|||
if(!getMyApplication().getSettings().isLastKnownMapLocation()) {
|
||||
// show first time when application ran
|
||||
//location = getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation();
|
||||
location = new LatLon(getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation().getLatitide(), getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation().getLongitude());
|
||||
location = new LatLon(getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation().getLatitude(), getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation().getLongitude());
|
||||
} else {
|
||||
//location = getLocationProvider().getLastKnownLocation();
|
||||
location = new LatLon(getLocationProvider().getLastKnownLocation().getLatitude(), getLocationProvider().getLastKnownLocation().getLongitude());
|
||||
|
|
Loading…
Reference in a new issue