From b4171412699ff8a52dcc5af6b62d72c781cd3f00 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 6 Feb 2023 17:53:47 +0100 Subject: [PATCH] Also stop watcher on macOS --- IceCubesApp/App/IceCubesApp.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/IceCubesApp/App/IceCubesApp.swift b/IceCubesApp/App/IceCubesApp.swift index 7c7c8bf6..0e2d1b75 100644 --- a/IceCubesApp/App/IceCubesApp.swift +++ b/IceCubesApp/App/IceCubesApp.swift @@ -171,9 +171,7 @@ struct IceCubesApp: App { private func handleScenePhase(scenePhase: ScenePhase) { switch scenePhase { case .background: - if !ProcessInfo.processInfo.isiOSAppOnMac { - watcher.stopWatching() - } + watcher.stopWatching() case .active: watcher.watch(streams: [.user, .direct]) UIApplication.shared.applicationIconBadgeNumber = 0