mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-19 13:46:38 +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,9 +78,9 @@ struct SettingsTabs: View {
|
|||
let sub = pushNotifications.subscriptions.first(where: { $0.account.token == token }) {
|
||||
Task {
|
||||
await sub.deleteSubscription()
|
||||
appAccountsManager.delete(account: account)
|
||||
}
|
||||
}
|
||||
appAccountsManager.delete(account: account)
|
||||
}
|
||||
}
|
||||
addAccountButton
|
||||
|
|
Loading…
Reference in a new issue