From 4de4c7c82a39f714d0d125bf4c5d8d80c2865396 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Tue, 26 Dec 2023 15:12:08 +0100 Subject: [PATCH] Don't remove notifications --- IceCubesApp/App/Tabs/NotificationTab.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/IceCubesApp/App/Tabs/NotificationTab.swift b/IceCubesApp/App/Tabs/NotificationTab.swift index ba1b47dd..d8dcd8b6 100644 --- a/IceCubesApp/App/Tabs/NotificationTab.swift +++ b/IceCubesApp/App/Tabs/NotificationTab.swift @@ -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 }