Fix L10n missing from Calling's context
This commit is contained in:
parent
7ba6aec592
commit
8b342d6751
3 changed files with 16 additions and 12 deletions
|
|
@ -17,6 +17,7 @@ class FluffyChatApp extends StatefulWidget {
|
|||
final List<Client> clients;
|
||||
final Map<String, String>? queryParameters;
|
||||
static GlobalKey<VRouterState> routerKey = GlobalKey<VRouterState>();
|
||||
static GlobalKey<MatrixState> matrixKey = GlobalKey<MatrixState>();
|
||||
const FluffyChatApp({
|
||||
Key? key,
|
||||
this.testWidget,
|
||||
|
|
@ -75,6 +76,7 @@ class FluffyChatAppState extends State<FluffyChatApp> {
|
|||
initialUrl: _initialUrl ?? '/',
|
||||
routes: AppRoutes(columnMode ?? false).routes,
|
||||
builder: (context, child) => Matrix(
|
||||
key: FluffyChatApp.matrixKey,
|
||||
context: context,
|
||||
router: FluffyChatApp.routerKey,
|
||||
clients: widget.clients,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue