diff --git a/OsmAnd/src/net/osmand/plus/dialogs/SelectMapStyleBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/dialogs/SelectMapStyleBottomSheetDialogFragment.java index 9951f3d793..faf98230b4 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/SelectMapStyleBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/SelectMapStyleBottomSheetDialogFragment.java @@ -74,6 +74,9 @@ public class SelectMapStyleBottomSheetDialogFragment extends MenuBottomSheetDial } else { selectedStyle = savedInstanceState.getString(SELECTED_STYLE_KEY); } + if(selectedStyle == null) { + selectedStyle = RendererRegistry.DEFAULT_RENDER; + } rbColorList = AndroidUtils.createCheckedColorStateList(context, R.color.icon_color, getActiveColorId());