manager: disable template ui temporarily

This commit is contained in:
weishu
2023-06-06 19:06:03 +08:00
parent eec88b9a5b
commit 2a4f5eef0c

View File

@@ -154,7 +154,7 @@ private fun AppProfileInner(
var mode by remember {
mutableStateOf(initialMode)
}
ProfileBox(mode, true) {
ProfileBox(mode, false) {
// template mode shouldn't change profile here!
if (it == Mode.Default || it == Mode.Custom) {
onProfileChange(profile.copy(rootUseDefault = it == Mode.Default))