fix: Notifications on web correctly managed when tab not focused
This commit is contained in:
parent
03109371dc
commit
a0aeab34ea
3 changed files with 2 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue