Add return onto ConfigureProfile after save new profile

This commit is contained in:
Dima-1 2019-12-27 18:06:24 +02:00
parent 7b1921e598
commit 187390eed5

View file

@ -204,7 +204,9 @@ public class ProfileAppearanceFragment extends BaseSettingsFragment {
if (isChanged()) {
if (saveNewProfile()) {
profile = changedProfile;
getActivity().onBackPressed();
ProfileAppearanceFragment.this.dismiss();
BaseSettingsFragment.showInstance(getMapActivity(), SettingsScreenType.CONFIGURE_PROFILE,
ApplicationMode.valueOfStringKey(changedProfile.stringKey, null));
}
}
}