feat: update demo

This commit is contained in:
2024-01-04 05:20:26 +08:00
parent c27f557d72
commit 2ce3de640b

View File

@@ -264,7 +264,7 @@ private fun ThemeColorsView(themeColor: MutableState<Colors>) {
},
actived = choosedColorName == name
) { Text(text = name) }
if (isDynamicColorsAvailable() && index == 3)
if (isDynamicColorsAvailable() && index == 2)
DynamicColors.forEach { (name, colors) -> createItem(name, colors) }
else createItem(name, colors)
}