fallback isFocused to true

This commit is contained in:
Henry Hiles 2026-09-22 15:05:57 -04:00
commit f4142859ba
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -69,7 +69,7 @@ class UnifiedPushController extends AsyncNotifier<bool> {
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,
) ==