Updated libs and version. Set compass on by default.
This commit is contained in:
1 parent
8f34c6d6b9
commit
d8e4bd7eb7
4 files changed
+5
-5
No files matched your search
+2
-2
@@ -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 {
|
||||||
|
|||||||
@@ -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
@@ -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'
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user