things compile

This commit is contained in:
Christien Rioux 2024-02-12 22:30:09 -05:00
parent a551791f97
commit 45ab494969
6 changed files with 42 additions and 15 deletions

View file

@ -59,8 +59,7 @@ class VeilidChatApp extends StatelessWidget {
child: BackgroundTicker(
builder: (context) => MaterialApp.router(
debugShowCheckedModeBanner: false,
routerConfig:
BlocProvider.of<RouterCubit>(context).router(),
routerConfig: context.watch<RouterCubit>().router(),
title: translate('app.title'),
theme: theme,
localizationsDelegates: [