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