mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-27 09:30:37 +00:00
Don't remove notifications
This commit is contained in:
parent
ede45a9d46
commit
4de4c7c82a
1 changed files with 0 additions and 3 deletions
|
@ -103,9 +103,6 @@ struct NotificationsTab: View {
|
|||
if selectedTab == .notifications || isSecondaryColumn {
|
||||
if let token = appAccount.currentAccount.oauthToken {
|
||||
userPreferences.notificationsCount[token] = 0
|
||||
Task {
|
||||
let _: ServerError = try await client.post(endpoint: Notifications.clear)
|
||||
}
|
||||
}
|
||||
watcher.unreadNotificationsCount = 0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue