produces NPE in line 101, so it looks like points.size()being 0 is the underlying problem for the fragment not reliably appearning on the dashboard
This commit is contained in:
parent
a19c84c931
commit
77ef148db9
1 changed files with 0 additions and 12 deletions
|
@ -58,18 +58,6 @@ public class DashFavoritesFragment extends DashBaseFragment {
|
|||
activity.startActivity(favorites);
|
||||
}
|
||||
});
|
||||
|
||||
if (getMyApplication().getFavorites().getFavouritePoints().size() > 0) {
|
||||
if(!getMyApplication().getSettings().isLastKnownMapLocation()) {
|
||||
// show first time when application ran
|
||||
location = getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation();
|
||||
} else {
|
||||
location = getLocationProvider().getLastKnownLocation();
|
||||
}
|
||||
updateLocation(location);
|
||||
}
|
||||
setupFavorites();
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue