Fix compass issue/introduce another setting
This commit is contained in:
parent
93f82c0d48
commit
6451eb624e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
osmandSettings.APPLICATION_MODE.set(osmandSettings.DEFAULT_APPLICATION_MODE.get());
|
if(!osmandSettings.FOLLOW_THE_ROUTE.get()){
|
||||||
|
osmandSettings.APPLICATION_MODE.set(osmandSettings.DEFAULT_APPLICATION_MODE.get());
|
||||||
|
}
|
||||||
|
|
||||||
applyTheme(this);
|
applyTheme(this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue