Updated on 2026-08-14
This commit is contained in:
parent
6e14ad22a8
commit
3366b1ef75
17 changed files with 167 additions and 81 deletions
|
|
@ -46,7 +46,7 @@ class PreferencesStorage(applicationContext: Application) {
|
|||
}
|
||||
|
||||
fun isFirstLaunch(): Boolean {
|
||||
val isFirst = preferences.contains(FIRST_LAUNCH_CHECK_KEY)
|
||||
val isFirst = !preferences.contains(FIRST_LAUNCH_CHECK_KEY)
|
||||
if (isFirst) preferences.edit().putInt(FIRST_LAUNCH_CHECK_KEY, System.currentTimeMillis().toInt()).apply()
|
||||
|
||||
return isFirst
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue