Updated libs and version. Set compass on by default.

pull/30/head
Arty Bishop 2020-05-27 13:03:01 +01:00
rodzic 8f34c6d6b9
commit d8e4bd7eb7
4 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -30,8 +30,8 @@ android {
applicationId "com.rtbishop.look4sat"
minSdkVersion 21
targetSdkVersion 29
versionCode 12
versionName '1.4.0'
versionCode 14
versionName '1.4.4'
}
buildTypes {
release {

Wyświetl plik

@ -56,7 +56,7 @@ class PrefsManager @Inject constructor(
}
fun getCompass(): Boolean {
return preferences.getBoolean(keyCompass, false)
return preferences.getBoolean(keyCompass, true)
}
fun getPosition(): GroundStationPosition {

Wyświetl plik

@ -46,7 +46,7 @@
android:singleLine="true"
android:title="@string/pref_refresh_rate_title" />
<SwitchPreference
android:defaultValue="false"
android:defaultValue="true"
android:key="@string/pref_compass_key"
android:title="@string/pref_compass_title" />
</PreferenceCategory>

Wyświetl plik

@ -57,7 +57,7 @@ ext {
room = '2.2.5'
retrofit = '2.8.1'
retrofit = '2.9.0'
dagger = '2.27'