mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
Try to fix
This commit is contained in:
@@ -40,7 +40,7 @@ class MainApp extends StatelessWidget {
|
||||
return MaterialApp.router(
|
||||
routerConfig: _router,
|
||||
onGenerateTitle: (context) {
|
||||
final title = AppLocalizations.of(context).title;
|
||||
final title = AppLocalizations.of(context)!.title;
|
||||
if (isDesktop) {
|
||||
windowManager.setTitle(title);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user