fix: 修复底部按钮配置不保存退出后重新进入状态未重置
This commit is contained in:
@@ -104,7 +104,7 @@ private fun ButtonIconConfigSheet(
|
|||||||
onClearIcon: (String) -> Unit,
|
onClearIcon: (String) -> Unit,
|
||||||
) {
|
) {
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
var draftItems by remember(items) {
|
var draftItems by remember(show, items) {
|
||||||
mutableStateOf(buildButtonIconEntries(items, context))
|
mutableStateOf(buildButtonIconEntries(items, context))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user