Make metric system and map screen orientation profile settings

This commit is contained in:
Chumva 2019-08-19 09:47:37 +03:00
parent e1de1d53b3
commit 5240f29151
2 changed files with 3 additions and 3 deletions

View file

@ -82,7 +82,7 @@
<SwitchPreference
android:key="do_not_use_animations"
android:layout="@layout/preference_fragment_and_switch"
android:title="@string/do_not_use_animations" />
android:title="@string/tap_on_map_to_hide_interface" />
<net.osmand.plus.views.ListIntPreference
android:key="external_input_device"

View file

@ -972,7 +972,7 @@ public class OsmandSettings {
}
;
}.makeGlobal();
}.makeProfile();
//public final OsmandPreference<Integer> COORDINATES_FORMAT = new IntPreference("coordinates_format", PointDescription.FORMAT_DEGREES).makeGlobal();
@ -1386,7 +1386,7 @@ public class OsmandSettings {
// this value string is synchronized with settings_pref.xml preference name
public final OsmandPreference<Integer> MAP_SCREEN_ORIENTATION =
new IntPreference("map_screen_orientation", -1/*ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED*/).makeGlobal();
new IntPreference("map_screen_orientation", -1/*ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED*/).makeProfile();
// this value string is synchronized with settings_pref.xml preference name
// public final CommonPreference<Boolean> SHOW_VIEW_ANGLE = new BooleanPreference("show_view_angle", false).makeProfile().cache();