refactor: Remove duplicated navigator workaround
This commit is contained in:
parent
5ee30c35c6
commit
ae52fcf9ec
4 changed files with 19 additions and 15 deletions
|
|
@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue