Don't remove notifications

This commit is contained in:
Thomas Ricouard 2023-12-26 15:12:08 +01:00
parent ede45a9d46
commit 4de4c7c82a
1 changed files with 0 additions and 3 deletions

View File

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