Updated libs and version. Set compass on by default.

This commit is contained in:
Arty Bishop committed 2020-05-27 13:03:01 +01:00
1 parent 8f34c6d6b9
commit d8e4bd7eb7
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ android {
applicationId "com.rtbishop.look4sat" applicationId "com.rtbishop.look4sat"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 12 versionCode 14
versionName '1.4.0' versionName '1.4.4'
} }
buildTypes { buildTypes {
release { release {
@@ -56,7 +56,7 @@ class PrefsManager @Inject constructor(
} }
fun getCompass(): Boolean { fun getCompass(): Boolean {
return preferences.getBoolean(keyCompass, false) return preferences.getBoolean(keyCompass, true)
} }
fun getPosition(): GroundStationPosition { fun getPosition(): GroundStationPosition {
+1 -1
View File
@@ -46,7 +46,7 @@
android:singleLine="true" android:singleLine="true"
android:title="@string/pref_refresh_rate_title" /> android:title="@string/pref_refresh_rate_title" />
<SwitchPreference <SwitchPreference
android:defaultValue="false" android:defaultValue="true"
android:key="@string/pref_compass_key" android:key="@string/pref_compass_key"
android:title="@string/pref_compass_title" /> android:title="@string/pref_compass_title" />
</PreferenceCategory> </PreferenceCategory>
+1 -1
View File
@@ -57,7 +57,7 @@ ext {
room = '2.2.5' room = '2.2.5'
retrofit = '2.8.1' retrofit = '2.9.0'
dagger = '2.27' dagger = '2.27'