Skip to content

Commit

Permalink
fix: 优化删除订阅逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Sep 12, 2023
1 parent 9a7639c commit d44555e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/li/songe/gkd/ui/SubsManagePage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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("")
}
Expand Down

0 comments on commit d44555e

Please sign in to comment.