fix: Notifications on web correctly managed when tab not focused

This commit is contained in:
Christian Kußowski 2026-01-18 14:20:18 +01:00
commit a0aeab34ea
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 2 additions and 9 deletions

View file

@ -197,8 +197,6 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
});
}
bool webHasFocus = true;
String? get activeRoomId {
final route = FluffyChatApp.router.routeInformationProvider.value.uri.path;
if (!route.startsWith('/rooms/')) return null;