Fix compass issue/introduce another setting

This commit is contained in:
Victor Shcherb 2013-05-20 23:13:25 +02:00
parent 93f82c0d48
commit 6451eb624e

View file

@ -113,7 +113,9 @@ public class OsmandApplication extends Application implements ClientContext {
// settings used everywhere so they need to be created first // settings used everywhere so they need to be created first
osmandSettings = createOsmandSettingsInstance(); osmandSettings = createOsmandSettingsInstance();
// always update application mode to default // always update application mode to default
if(!osmandSettings.FOLLOW_THE_ROUTE.get()){
osmandSettings.APPLICATION_MODE.set(osmandSettings.DEFAULT_APPLICATION_MODE.get()); osmandSettings.APPLICATION_MODE.set(osmandSettings.DEFAULT_APPLICATION_MODE.get());
}
applyTheme(this); applyTheme(this);