mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Dependencies update, fixed issue #58
This commit is contained in:
1 parent
eb1ac3341f
commit
a26f881160
3 files changed
+6
-4
No files matched your search
+4
-2
@@ -66,10 +66,12 @@ class SatItemViewModel @Inject constructor(
|
|||||||
fun updateEntriesFromWeb(sources: List<String>) {
|
fun updateEntriesFromWeb(sources: List<String>) {
|
||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
_satData.value = Result.InProgress
|
_satData.value = Result.InProgress
|
||||||
runCatching {
|
try {
|
||||||
preferencesSource.saveTleSources(sources)
|
preferencesSource.saveTleSources(sources)
|
||||||
satDataRepository.updateEntriesFromWeb(sources)
|
satDataRepository.updateEntriesFromWeb(sources)
|
||||||
}.onFailure { _satData.value = Result.Error(it) }
|
} catch (exception: Exception) {
|
||||||
|
_satData.value = Result.Error(exception)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
<string name="pref_map_labels">Use text labels instead of icons</string>
|
<string name="pref_map_labels">Use text labels instead of icons</string>
|
||||||
<string name="pref_other_title">Other</string>
|
<string name="pref_other_title">Other</string>
|
||||||
<string name="pref_time_utc_title">Show pass time in UTC</string>
|
<string name="pref_time_utc_title">Show pass time in UTC</string>
|
||||||
<string name="pref_compass_title">Use sensors to rotate PolarView</string>
|
<string name="pref_compass_title">Use sensors to rotate radar view</string>
|
||||||
|
|
||||||
<string name="tracking_title">Tracking preferences</string>
|
<string name="tracking_title">Tracking preferences</string>
|
||||||
<string name="tracking_rotator_switch">Antenna rotator control</string>
|
<string name="tracking_rotator_switch">Antenna rotator control</string>
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ buildscript {
|
|||||||
navigation_version = '2.3.5'
|
navigation_version = '2.3.5'
|
||||||
preference_version = '1.1.1'
|
preference_version = '1.1.1'
|
||||||
room_version = '2.3.0'
|
room_version = '2.3.0'
|
||||||
hilt_version = '2.35.1'
|
hilt_version = '2.36'
|
||||||
retrofit_version = '2.9.0'
|
retrofit_version = '2.9.0'
|
||||||
osmdroid_version = '6.1.10'
|
osmdroid_version = '6.1.10'
|
||||||
timber_version = '4.7.1'
|
timber_version = '4.7.1'
|
||||||
|
|||||||
Reference in new issue
Block a user