fallback isFocused to true
This commit is contained in:
parent
775c77194b
commit
f4142859ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
) ==
|
||||
|
|
|
|||
Loading…
Reference in a new issue