Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 2b9dff7

Browse files
committed
Merge branch 'release/3.2.x' of github.com:corona-warn-app/cwa-app-ios into release/3.2.x
2 parents 403853c + 55f673f commit 2b9dff7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/xcode/ENA/ENA/Source/AppDelegate & Globals/AppDelegate.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, CoronaWarnAppDelegate, Re
819819
UNUserNotificationCenter.current().removeAllPendingNotificationRequests()
820820

821821
// Disable ExposureNotification
822-
disableExposureNotification()
822+
if ENAExposureManager().exposureManagerState.enabled {
823+
disableExposureNotification()
824+
}
823825

824826
// Stop and delete error logging.
825827
try? elsService.stopAndDeleteLog()

0 commit comments

Comments
 (0)