forked from Nexus/nexus
hopefully fixup UP on linux when backgrounded
This commit is contained in:
parent
3fee789c90
commit
3d690c26d8
2 changed files with 8 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ class UnifiedPushController extends AsyncNotifier<bool> {
|
|||
await windowManager.isFocused().onError((_, _) => false) &&
|
||||
ref.watch(KeyController.provider(KeyController.roomKey)) ==
|
||||
event.roomId)) {
|
||||
if (isInBackground) exit(0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue