From 838f58f16df2a756b957bfab39809891ee8aae9a Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Fri, 29 Sep 2023 23:26:48 +0200 Subject: [PATCH] fix(neon): wix window visibility check Signed-off-by: Nikolas Rimikis --- packages/neon/neon/lib/src/blocs/user_statuses.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/neon/neon/lib/src/blocs/user_statuses.dart b/packages/neon/neon/lib/src/blocs/user_statuses.dart index 7d29cfd1..8796532b 100644 --- a/packages/neon/neon/lib/src/blocs/user_statuses.dart +++ b/packages/neon/neon/lib/src/blocs/user_statuses.dart @@ -66,7 +66,7 @@ class UserStatusesBloc extends InteractiveBloc implements UserStatusesBlocEvents var isAway = false; if (NeonPlatform.instance.canUseWindowManager) { final focused = await windowManager.isFocused(); - final visible = await windowManager.isFocused(); + final visible = await windowManager.isVisible(); isAway = !focused || !visible; } try {