This commit is contained in:
Victor Shcherb 2018-05-30 13:11:38 +02:00
parent 50647d29f7
commit e7c19ac764

View file

@ -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());