Fix deleting push sub on logout close #417

This commit is contained in:
Thomas Ricouard 2023-01-27 07:47:43 +01:00
parent 0a7ef1a2fb
commit 4a5b0eb2e6
1 changed files with 1 additions and 1 deletions

View File

@ -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