From a8e045bb3adf6c205e08faee334d4d0fe37491a8 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 3 Nov 2026 15:32:54 -0500 Subject: [PATCH] bump window_manager --- lib/controllers/unified_push.dart | 3 +-- linux/nix/pkg/default.nix | 1 - pubspec.lock | 21 ++++++++++----------- pubspec.yaml | 5 +---- 4 files changed, 12 insertions(+), 18 deletions(-) diff --git a/lib/controllers/unified_push.dart b/lib/controllers/unified_push.dart index 260d843..01635d9 100644 --- a/lib/controllers/unified_push.dart +++ b/lib/controllers/unified_push.dart @@ -108,8 +108,7 @@ class UnifiedPushController extends AsyncNotifier { 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); diff --git a/linux/nix/pkg/default.nix b/linux/nix/pkg/default.nix index cc978b9..2a6b4a1 100644 --- a/linux/nix/pkg/default.nix +++ b/linux/nix/pkg/default.nix @@ -53,7 +53,6 @@ flutter.buildFlutterApplication { unifiedpush_linux = "sha256-KQKyBPL2ORK9O89C4K3RHGve/lvFaU1vIjSDnj6+bj4="; unifiedpush_platform_interface = "sha256-KQKyBPL2ORK9O89C4K3RHGve/lvFaU1vIjSDnj6+bj4="; webcrypto = "sha256-HW0NukbddwOYd9iVUFA3L8iy1qggnyOBgcbMj0MTYss="; - window_manager = "sha256-xUd5hG+/V6F+m0ZUL/3XGPACFG/zqI5JM6IaMVvLgx4="; xdg_desktop_portal = "sha256-8GgiXHGv+wy6hJgj/rZxbymMitNVmdDLAnedZm9STSc="; }; diff --git a/pubspec.lock b/pubspec.lock index 25269ca..cec6290 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -213,10 +213,10 @@ packages: dependency: transitive description: name: cnativeapi - sha256: "251fb93cd7ec205445fa512ee5ddeb0b82b3273d071cfc0784ddffbbdebbf5d3" + sha256: "3c9e30d513cdc8ecb116f3017308f2480828c766e45aa00083c3d15d621e5d57" url: "https://pub.dev" source: hosted - version: "0.5.2" + version: "0.5.8" code_assets: dependency: "direct main" description: @@ -1134,18 +1134,18 @@ packages: dependency: transitive description: name: nativeapi - sha256: c4625e81f5ce2f4a9044c0ec1bdb38355119ffcf89e24eb20ae9fc5027a01e59 + sha256: "87b0912bde3c9b7e0649c5e12047baf2bf179d3844a9b984313e897872120267" url: "https://pub.dev" source: hosted - version: "0.5.2" + version: "0.5.8" nativeapi_flutter: dependency: transitive description: name: nativeapi_flutter - sha256: "4feaa68cb5c4fc3b2eeaee1a25e56e2d092178e1c59516d9db5dd34940dcf36c" + sha256: b62a42b8a86538119ba67b8eab8328eb89d69ac4a2142d623d08ac163faa9cd8 url: "https://pub.dev" source: hosted - version: "0.5.2" + version: "0.5.8" navigation_rail_m3e: dependency: "direct main" description: @@ -1846,11 +1846,10 @@ packages: window_manager: dependency: "direct main" description: - path: "." - ref: HEAD - resolved-ref: "80acd536a1ea1c121c36e32d30e638a295087ed1" - url: "https://github.com/leanflutter/window_manager" - source: git + name: window_manager + sha256: bdd6b1a2c1ce50f3bba7ffbaa0d5dc5feb6b6a24fd20269da4de90244f77a471 + url: "https://pub.dev" + source: hosted version: "0.6.0" wkt_parser: dependency: transitive diff --git a/pubspec.yaml b/pubspec.yaml index bb6f366..f27cd34 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -52,9 +52,6 @@ dependency_overrides: git: url: https://github.com/appelladev/linkify ref: fix/consecutive-periods-loose-url - window_manager: - git: - url: https://github.com/leanflutter/window_manager dependencies: flutter: @@ -72,7 +69,7 @@ dependencies: path: 1.9.1 dynamic_color: 2.1.0 collection: 1.19.1 - window_manager: 0.5.2 + window_manager: 0.6.0 color_hash: 1.0.1 flutter_widget_from_html_core: 0.18.0-beta.1 flutter_svg: 2.3.0