Fix deleting push sub on logout close #417
This commit is contained in:
parent
0a7ef1a2fb
commit
4a5b0eb2e6
|
@ -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 New Issue