bump window_manager
This commit is contained in:
parent
b154b4ee2e
commit
a8e045bb3a
1 changed files with 12 additions and 18 deletions
|
|
@ -108,8 +108,7 @@ class UnifiedPushController extends AsyncNotifier<String?> {
|
|||
if (notification == null ||
|
||||
(!isInBackground &&
|
||||
isActive &&
|
||||
(!Platform.isAndroid &&
|
||||
(WindowManager.instance.getCurrent()?.isFocused ?? true)) &&
|
||||
(WindowManager.instance.getCurrent()?.isFocused ?? false) &&
|
||||
ref.read(SelectedRoomController.provider) ==
|
||||
notification.roomId)) {
|
||||
if (isInBackground) exit(0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue