fix: Follow up for spaces hierarchy

- fix endless spinner
- fix rooms shon twice
- fix spaces accidentally opened as rooms
- add missing spaces header to spaces view

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-07-24 19:02:14 +02:00 committed by Krille Fear
commit d71c25aa80
10 changed files with 234 additions and 50 deletions

View file

@ -22,6 +22,7 @@ import 'config/themes.dart';
import 'utils/background_push.dart';
import 'utils/custom_scroll_behaviour.dart';
import 'utils/localized_exception_extension.dart';
import 'utils/space_navigator.dart';
import 'widgets/lock_screen.dart';
import 'widgets/matrix.dart';
@ -132,6 +133,9 @@ class _FluffyChatAppState extends State<FluffyChatApp> {
localizationsDelegates: const [
...L10n.localizationsDelegates,
],
navigatorObservers: [
SpaceNavigator.routeObserver,
],
supportedLocales: L10n.supportedLocales,
initialUrl: _initialUrl ?? '/',
routes: AppRoutes(columnMode ?? false).routes,