Initialize the basic framework
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package top.fatweb.oxygen.toolbox.model
|
||||
|
||||
enum class DarkThemeConfig {
|
||||
FOLLOW_SYSTEM,
|
||||
LIGHT,
|
||||
DARK,
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package top.fatweb.oxygen.toolbox.model
|
||||
|
||||
enum class LanguageConfig(val code: String? = null) {
|
||||
FOLLOW_SYSTEM,
|
||||
CHINESE("cn"),
|
||||
ENGLISH("en")
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package top.fatweb.oxygen.toolbox.model
|
||||
|
||||
enum class LaunchPageConfig {
|
||||
TOOLS,
|
||||
STAR
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package top.fatweb.oxygen.toolbox.model
|
||||
|
||||
enum class ThemeBrandConfig {
|
||||
DEFAULT,
|
||||
ANDROID
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package top.fatweb.oxygen.toolbox.model
|
||||
|
||||
data class UserData(
|
||||
val languageConfig: LanguageConfig,
|
||||
val launchPageConfig: LaunchPageConfig,
|
||||
val themeBrandConfig: ThemeBrandConfig,
|
||||
val darkThemeConfig: DarkThemeConfig,
|
||||
val useDynamicColor: Boolean
|
||||
)
|
||||
Reference in New Issue
Block a user