Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
R3.15.2.1
Browse files Browse the repository at this point in the history
Quick Fix: colors NPE
  • Loading branch information
ryuunoakaihitomi committed Jan 16, 2022
1 parent 462886c commit 7f79982
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ android {
//targetSdkVersion compileSdkVersion
targetSdkVersion 31
// 版本号:发布日期
versionCode 20220116
versionCode 20220117
// 版本名说明: R3.x.y.z (R3:Refactoring 第三次重构,z:Quick Fix序号)
// 不要包含非ASCII可打印字符,会导致Github release文件名异常
versionName 'R3.15.2'
versionName 'R3.15.2.1'
resConfigs "en", "zh-rCN"

buildConfigField 'String', 'BUILD_TIME', '\"' + new Date() + '\"'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ object DarkThemeForP {
if (getWallpaperColors(whichPaper)?.supportDarkTheme() == true) nox()
addOnColorsChangedListener({ colors, which ->
Timber.d("DT4P: colors changed. c=$colors w=$which")
if (which == whichPaper && colors.supportDarkTheme()) nox()
colors?.run { if (which == whichPaper && supportDarkTheme()) nox() }
}, Handler(mainLooper))
}
}
Expand Down

0 comments on commit 7f79982

Please sign in to comment.