Updated on 2026-08-14
This commit is contained in:
parent
938c8e72cb
commit
8c4f39aab5
4 changed files with 24 additions and 8 deletions
|
|
@ -3,21 +3,21 @@ package com.tangem.domain.apptheme.model
|
|||
/**
|
||||
* Enumerates the possible modes for the application's theme.
|
||||
*/
|
||||
enum class AppThemeMode {
|
||||
enum class AppThemeMode(val value: String) {
|
||||
/**
|
||||
* Forces the dark theme mode regardless of system settings.
|
||||
*/
|
||||
FORCE_DARK,
|
||||
FORCE_DARK("Dark"),
|
||||
|
||||
/**
|
||||
* Forces the light theme mode regardless of system settings.
|
||||
*/
|
||||
FORCE_LIGHT,
|
||||
FORCE_LIGHT("Light"),
|
||||
|
||||
/**
|
||||
* Follows the system-wide theme mode.
|
||||
*/
|
||||
FOLLOW_SYSTEM,
|
||||
FOLLOW_SYSTEM("System"),
|
||||
|
||||
;
|
||||
|
||||
|
|
@ -30,6 +30,6 @@ enum class AppThemeMode {
|
|||
/**
|
||||
* List of available [AppThemeMode]s.
|
||||
* */
|
||||
val available: List<AppThemeMode> = values().toList()
|
||||
val available: List<AppThemeMode> = entries
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue