From ce93d3aadd9265bd6bedee916a40aa12eb7d34e3 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 24 Jan 2021 10:21:34 -0600 Subject: [PATCH] Remove the custom dismiss option from the notification center. Fixes #2760 --- Shared/UserNotifications/UserNotificationManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/UserNotifications/UserNotificationManager.swift b/Shared/UserNotifications/UserNotificationManager.swift index 50fe22227..edb0d07d0 100644 --- a/Shared/UserNotifications/UserNotificationManager.swift +++ b/Shared/UserNotifications/UserNotificationManager.swift @@ -90,7 +90,7 @@ private extension UserNotificationManager { actions: [openAction, readAction, starredAction], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: "", - options: .customDismissAction) + options: []) UNUserNotificationCenter.current().setNotificationCategories([newArticleCategory]) }