Watch
1
0
Fork
You've already forked nexus
0
forked from Nexus/nexus

hopefully fixup UP on linux when backgrounded

This commit is contained in:
Henry Hiles 2026-09-20 13:27:47 -04:00
commit 3d690c26d8
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 8 additions and 1 deletions

View file

@ -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;
}