gate android branches of window_manager
This commit is contained in:
parent
ffbf2722f7
commit
e0b5dc58d0
1 changed files with 9 additions and 4 deletions
|
|
@ -88,7 +88,8 @@ class UnifiedPushController extends AsyncNotifier<String?> {
|
|||
|
||||
if (notification == null ||
|
||||
(!isInBackground &&
|
||||
(WindowManager.instance.getCurrent()?.isFocused ?? true) &&
|
||||
(!Platform.isAndroid &&
|
||||
(WindowManager.instance.getCurrent()?.isFocused ?? true)) &&
|
||||
ref.read(SelectedRoomController.provider) ==
|
||||
notification.roomId)) {
|
||||
if (isInBackground) exit(0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue