fix: 从自定义主题切换到动态取色时显示异常

This commit is contained in:
HuanCheng65 2024-02-01 18:03:16 +08:00
parent fe0c667af5
commit 587bfef7c0
No known key found for this signature in database
GPG Key ID: 5EC9DD60A32C7360
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ fun AppThemePage(
horizontalArrangement = Arrangement.spacedBy(16.dp), horizontalArrangement = Arrangement.spacedBy(16.dp),
) { ) {
Icon( Icon(
imageVector = if (currentTheme == ThemeUtil.THEME_CUSTOM) { imageVector = if (!isDynamicTheme && currentTheme == ThemeUtil.THEME_CUSTOM) {
Icons.Rounded.Check Icons.Rounded.Check
} else { } else {
Icons.Rounded.ColorLens Icons.Rounded.ColorLens