-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fd7920
commit 1e5e62a
Showing
6 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
app/src/main/kotlin/cn/super12138/todo/constant/GlobalValues.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
package cn.super12138.todo.constant | ||
|
||
import cn.super12138.todo.logic.database.SPDelegates | ||
import cn.super12138.todo.utils.SPDelegates | ||
|
||
object GlobalValues { | ||
var darkMode: String by SPDelegates(Constants.PREF_DARK_MODE, "0") | ||
var devMode: Boolean by SPDelegates(Constants.PREF_DEV_MODE, false) | ||
var springFestivalTheme: Boolean by SPDelegates(Constants.PREF_SPRING_FESTIVAL_THEME, false) | ||
var secureMode: Boolean by SPDelegates(Constants.PREF_SECURE_MODE, false) | ||
|
||
} |
4 changes: 2 additions & 2 deletions
4
...r12138/todo/logic/database/SPDelegates.kt → ...n/cn/super12138/todo/utils/SPDelegates.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters