Tweak async for updater

This commit is contained in:
Max Goedjen
2025-01-05 00:37:03 -08:00
parent 8e707545d1
commit 304741e019
3 changed files with 23 additions and 19 deletions

View File

@@ -18,7 +18,9 @@ struct UpdateDetailView<UpdaterType: Updater>: View {
HStack {
if !update.critical {
Button("update_ignore_button") {
updater.ignore(release: update)
Task {
await updater.ignore(release: update)
}
}
Spacer()
}