Enable selected app mode before entering configure screen/map

This commit is contained in:
Chumva 2019-11-18 13:38:29 +02:00
parent 54fb785f75
commit 90fc41f38e

View file

@ -304,6 +304,7 @@ public class ConfigureProfileFragment extends BaseSettingsFragment {
try { try {
FragmentManager fragmentManager = activity.getSupportFragmentManager(); FragmentManager fragmentManager = activity.getSupportFragmentManager();
if (fragmentManager != null) { if (fragmentManager != null) {
settings.APPLICATION_MODE.set(getSelectedAppMode());
fragmentManager.beginTransaction() fragmentManager.beginTransaction()
.remove(this) .remove(this)
.addToBackStack(TAG) .addToBackStack(TAG)