From ef66c795d433619dcd1bfcd4a06b098a5ddc0073 Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Wed, 8 May 2019 13:53:53 +0300 Subject: [PATCH] fixed bug with NavService selection in Navigation Settings --- .../src/net/osmand/plus/activities/SettingsBaseActivity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsBaseActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsBaseActivity.java index ea4711a97d..b24f78fcaf 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsBaseActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsBaseActivity.java @@ -340,9 +340,7 @@ public abstract class SettingsBaseActivity extends ActionBarPreferenceActivity modes.add(a); } } - updateModeButton(settings.APPLICATION_MODE.get()); - //-------------------------- getTypeButton().setVisibility(View.VISIBLE); getTypeButton().setOnClickListener(new View.OnClickListener() { @Override @@ -395,7 +393,8 @@ public abstract class SettingsBaseActivity extends ActionBarPreferenceActivity getMyApplication().getSettings().isLightContent() ? R.color.active_buttons_and_links_light : R.color.active_buttons_and_links_dark)); - + settings.APPLICATION_MODE.set(mode); + updateAllSettings(); } @Override