Fix #5567
This commit is contained in:
parent
dad801c456
commit
9f86eef421
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class FavouritesBottomSheetMenuFragment extends MenuBottomSheetDialogFrag
|
||||||
if (savedInstanceState != null && savedInstanceState.getBoolean(IS_SORTED)) {
|
if (savedInstanceState != null && savedInstanceState.getBoolean(IS_SORTED)) {
|
||||||
sortByDist = savedInstanceState.getBoolean(SORTED_BY_TYPE);
|
sortByDist = savedInstanceState.getBoolean(SORTED_BY_TYPE);
|
||||||
}
|
}
|
||||||
favouritePoints = getMyApplication().getFavorites().getVisibleFavouritePoints();
|
favouritePoints = getMyApplication().getFavorites().getFavouritePoints();
|
||||||
recyclerView = new RecyclerView(getContext());
|
recyclerView = new RecyclerView(getContext());
|
||||||
final int themeRes = nightMode ? R.style.OsmandDarkTheme : R.style.OsmandLightTheme;
|
final int themeRes = nightMode ? R.style.OsmandDarkTheme : R.style.OsmandLightTheme;
|
||||||
recyclerView = (RecyclerView) View.inflate(new ContextThemeWrapper(getContext(), themeRes),
|
recyclerView = (RecyclerView) View.inflate(new ContextThemeWrapper(getContext(), themeRes),
|
||||||
|
|
Loading…
Reference in a new issue