fix: 标签失效
This commit is contained in:
1 file changed
+1
-5
@@ -132,11 +132,7 @@ object ThemeConfig {
|
|||||||
|
|
||||||
var enableCustomTagColors by prefDelegate(PreferKey.enableCustomTagColors, false)
|
var enableCustomTagColors by prefDelegate(PreferKey.enableCustomTagColors, false)
|
||||||
|
|
||||||
var customTagColorsJson: String?
|
var customTagColorsJson by prefDelegate<String?>(PreferKey.customTagColors, null)
|
||||||
get() = appCtx.getPrefString(PreferKey.customTagColors)
|
|
||||||
set(value) {
|
|
||||||
appCtx.putPrefString(PreferKey.customTagColors, value)
|
|
||||||
}
|
|
||||||
|
|
||||||
fun getCustomTagColors(): List<TagColorPair> {
|
fun getCustomTagColors(): List<TagColorPair> {
|
||||||
return try {
|
return try {
|
||||||
|
|||||||
Reference in new issue
Block a user