chore: change default URL
This commit is contained in:
parent
52816c155b
commit
d6f352be29
@ -8,6 +8,6 @@ package ru.risdeveau.geotracker
|
||||
import splitties.preferences.Preferences
|
||||
|
||||
object SettingsPreferences : Preferences("settings") {
|
||||
var username by stringPref("username", "anonimous")
|
||||
var url by stringPref("url", "https://example.com")
|
||||
var username by stringPref("username", "")
|
||||
var url by stringPref("url", "https://geo.tmp.codrs.ru")
|
||||
}
|
@ -89,6 +89,7 @@ class MainActivity : ComponentActivity() {
|
||||
launch {
|
||||
screen = if (
|
||||
health(SettingsPreferences.url)
|
||||
&& SettingsPreferences.username.isNotBlank()
|
||||
&& hasPermission(ACCESS_FINE_LOCATION)
|
||||
&& (
|
||||
(Build.VERSION.SDK_INT < 33)
|
||||
|
Loading…
x
Reference in New Issue
Block a user