refactor: Remove duplicated navigator workaround

This commit is contained in:
krille-chan 2024-10-03 19:29:56 +02:00
commit ae52fcf9ec
No known key found for this signature in database
4 changed files with 19 additions and 15 deletions

View file

@ -54,14 +54,10 @@ class FluffyChatApp extends StatelessWidget {
clients: clients,
// Need a navigator above the Matrix widget for
// displaying dialogs
child: Navigator(
onGenerateRoute: (_) => MaterialPageRoute(
builder: (_) => Matrix(
clients: clients,
store: store,
child: testWidget ?? child,
),
),
child: Matrix(
clients: clients,
store: store,
child: testWidget ?? child,
),
),
),