Updated on 2026-08-14
This commit is contained in:
parent
912510da57
commit
724748ee8c
16 changed files with 203 additions and 58 deletions
|
|
@ -30,8 +30,14 @@ sealed class AnalyticsParam {
|
|||
}
|
||||
|
||||
sealed class OnOffState(val value: String) {
|
||||
|
||||
object On : OnOffState("On")
|
||||
object Off : OnOffState("Off")
|
||||
|
||||
companion object {
|
||||
|
||||
operator fun invoke(value: Boolean): OnOffState = if (value) On else Off
|
||||
}
|
||||
}
|
||||
|
||||
sealed class UserCode(val value: String) {
|
||||
|
|
|
|||
|
|
@ -89,5 +89,12 @@ sealed class Settings(
|
|||
event = "App Theme Switched",
|
||||
params = mapOf("State" to theme.value),
|
||||
)
|
||||
|
||||
object EnableBiometrics : AppSettings(event = "Notice - Enable Biometric")
|
||||
|
||||
class HideBalanceChanged(state: AnalyticsParam.OnOffState) : AppSettings(
|
||||
event = "Hide Balance Changed",
|
||||
params = mapOf("State" to state.value),
|
||||
)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue