fix: UIA requests with navigator

This commit is contained in:
krille-chan 2023-10-07 09:38:46 +02:00
commit 6538d91779
No known key found for this signature in database
2 changed files with 12 additions and 5 deletions

View file

@ -49,9 +49,15 @@ class FluffyChatApp extends StatelessWidget {
builder: (context, child) => AppLockWidget(
pincode: pincode,
clients: clients,
child: Matrix(
clients: clients,
child: testWidget ?? child,
// Need a navigator above the Matrix widget for
// displaying dialogs
child: Navigator(
onGenerateRoute: (_) => MaterialPageRoute(
builder: (_) => Matrix(
clients: clients,
child: testWidget ?? child,
),
),
),
),
),