fixed bug with NavService selection in Navigation Settings

This commit is contained in:
madwasp79 2019-05-08 13:53:53 +03:00
parent 2a51b39e68
commit ef66c795d4

View file

@ -340,9 +340,7 @@ public abstract class SettingsBaseActivity extends ActionBarPreferenceActivity
modes.add(a); modes.add(a);
} }
} }
updateModeButton(settings.APPLICATION_MODE.get());
//--------------------------
getTypeButton().setVisibility(View.VISIBLE); getTypeButton().setVisibility(View.VISIBLE);
getTypeButton().setOnClickListener(new View.OnClickListener() { getTypeButton().setOnClickListener(new View.OnClickListener() {
@Override @Override
@ -395,7 +393,8 @@ public abstract class SettingsBaseActivity extends ActionBarPreferenceActivity
getMyApplication().getSettings().isLightContent() getMyApplication().getSettings().isLightContent()
? R.color.active_buttons_and_links_light ? R.color.active_buttons_and_links_light
: R.color.active_buttons_and_links_dark)); : R.color.active_buttons_and_links_dark));
settings.APPLICATION_MODE.set(mode);
updateAllSettings();
} }
@Override @Override