fix: 优化删除订阅逻辑

This commit is contained in:
lisonge 2023-09-12 10:18:08 +08:00
parent 9a7639c27c
commit d44555e64d

View File

@ -301,8 +301,8 @@ fun SubsManagePage() {
title = { Text(text = "是否删除 ${subsIdToRaw[deleteSubItemVal.id]?.name}?") }, title = { Text(text = "是否删除 ${subsIdToRaw[deleteSubItemVal.id]?.name}?") },
confirmButton = { confirmButton = {
TextButton(onClick = scope.launchAsFn { TextButton(onClick = scope.launchAsFn {
deleteSubItemVal.removeAssets()
deleteSubItem = null deleteSubItem = null
deleteSubItemVal.removeAssets()
}) { }) {
Text("") Text("")
} }