fixed bug with NavService selection in Navigation Settings
This commit is contained in:
parent
2a51b39e68
commit
ef66c795d4
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue