From f4142859ba49531defd0a087fbcc69aa5f558fc2 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 22 Sep 2026 15:05:57 -0400 Subject: [PATCH] fallback isFocused to true --- lib/controllers/unified_push.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controllers/unified_push.dart b/lib/controllers/unified_push.dart index 49a73ea..1a62477 100644 --- a/lib/controllers/unified_push.dart +++ b/lib/controllers/unified_push.dart @@ -69,7 +69,7 @@ class UnifiedPushController extends AsyncNotifier { if (event == null || event.unreadType?.shouldNotify() != true || (!isInBackground && - await windowManager.isFocused().onError((_, _) => false) && + await windowManager.isFocused().onError((_, _) => true) && await ref.read( KeyController.provider(KeyController.roomKey).future, ) ==