Refactor Alerts

This commit is contained in:
世界
2025-12-01 18:22:06 +08:00
parent 8e764c56eb
commit 4ddfcdb324
40 changed files with 324 additions and 224 deletions
@@ -33,7 +33,7 @@
do {
try await loadContentBackground()
} catch {
alert = Alert(error)
alert = AlertState(error: error)
}
isLoading = false
}
@@ -59,7 +59,7 @@
do {
try await saveContentBackground(profile)
} catch {
alert = Alert(error)
alert = AlertState(error: error)
return
}
isChanged = false