Updated on 2026-08-14
This commit is contained in:
parent
fa41036fca
commit
8f6200b7d5
7 changed files with 57 additions and 38 deletions
|
|
@ -14,12 +14,17 @@ class DisclaimerPrefStorage(
|
|||
get() = preferences.getBoolean(KEY_TANGEM_TOS, false)
|
||||
set(value) = preferences.edit { putBoolean(KEY_TANGEM_TOS, value) }
|
||||
|
||||
var hasStart2CoinTosAccepted: Boolean
|
||||
get() = preferences.getBoolean(KEY_START_2_COIN_TOS, false)
|
||||
set(value) = preferences.edit { putBoolean(KEY_START_2_COIN_TOS, value) }
|
||||
|
||||
var hasSaltPayTosAccepted: Boolean
|
||||
get() = preferences.getBoolean(KEY_SALT_PAY_TOS, false)
|
||||
set(value) = preferences.edit { putBoolean(KEY_SALT_PAY_TOS, value) }
|
||||
|
||||
companion object {
|
||||
private const val KEY_TANGEM_TOS = "tangem_tos_accepted"
|
||||
private const val KEY_START_2_COIN_TOS = "s2c_tos_accepted"
|
||||
private const val KEY_SALT_PAY_TOS = "saltPay_tos_accepted"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue