mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 23:50:36 +00:00
Fix deleting push sub on logout close #417
This commit is contained in:
parent
0a7ef1a2fb
commit
4a5b0eb2e6
1 changed files with 1 additions and 1 deletions
|
@ -78,11 +78,11 @@ struct SettingsTabs: View {
|
|||
let sub = pushNotifications.subscriptions.first(where: { $0.account.token == token }) {
|
||||
Task {
|
||||
await sub.deleteSubscription()
|
||||
}
|
||||
}
|
||||
appAccountsManager.delete(account: account)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
addAccountButton
|
||||
}
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
|
|
Loading…
Reference in a new issue