diff --git a/app/src/main/java/li/songe/gkd/ui/SubsManagePage.kt b/app/src/main/java/li/songe/gkd/ui/SubsManagePage.kt index 6e84f88..0796c4e 100644 --- a/app/src/main/java/li/songe/gkd/ui/SubsManagePage.kt +++ b/app/src/main/java/li/songe/gkd/ui/SubsManagePage.kt @@ -301,8 +301,8 @@ fun SubsManagePage() { title = { Text(text = "是否删除 ${subsIdToRaw[deleteSubItemVal.id]?.name}?") }, confirmButton = { TextButton(onClick = scope.launchAsFn { - deleteSubItemVal.removeAssets() deleteSubItem = null + deleteSubItemVal.removeAssets() }) { Text("是") }