Fix #5519 crash
This commit is contained in:
parent
94650cc6b0
commit
ffb4b39c93
1 changed files with 3 additions and 0 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue