Simplify first launch authentication decision (#1685)

We can stop the decision logic even from this place, as we omit the authentication when secrets are not set yet.
This commit is contained in:
Honza Rychnovský 2024-11-15 14:05:37 +01:00 committed by GitHub
parent 311a1a5fde
commit 95285c5133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -76,5 +76,8 @@ object StandardPreferenceKeys {
null
)
val LATEST_APP_BACKGROUND_TIME_MILLIS =
LongPreferenceDefault(PreferenceKey("LATEST_APP_BACKGROUND_TIME_MILLIS"), 0)
LongPreferenceDefault(
PreferenceKey("LATEST_APP_BACKGROUND_TIME_MILLIS"),
Long.MAX_VALUE
)
}