Merge pull request #8509 from osmandapp/minor_fixes
Fix base app mode key
This commit is contained in:
commit
41c4361dba
1 changed files with 2 additions and 2 deletions
|
@ -366,8 +366,8 @@ public class ProfileAppearanceFragment extends BaseSettingsFragment {
|
|||
Bundle bundle = new Bundle();
|
||||
fragment.setUsedOnMap(false);
|
||||
fragment.setAppMode(getSelectedAppMode());
|
||||
if (getSelectedAppMode() != null) {
|
||||
bundle.putString(SELECTED_KEY, getSelectedAppMode().getStringKey());
|
||||
if (changedProfile.parent != null) {
|
||||
bundle.putString(SELECTED_KEY, changedProfile.parent.getStringKey());
|
||||
}
|
||||
bundle.putString(DIALOG_TYPE, TYPE_BASE_APP_PROFILE);
|
||||
fragment.setArguments(bundle);
|
||||
|
|
Loading…
Reference in a new issue