Merge pull request #30 from ente-io/use-newer-alternative
Use `AppLocalizations.localizationsDelegates` in other MaterialApp
This commit is contained in:
commit
50b583c2d7
1 changed files with 1 additions and 6 deletions
|
@ -79,12 +79,7 @@ class _AppState extends State<App> {
|
|||
darkTheme: dartTheme,
|
||||
debugShowCheckedModeBanner: false,
|
||||
supportedLocales: AppLocalizations.supportedLocales,
|
||||
localizationsDelegates: const [
|
||||
AppLocalizations.delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
],
|
||||
localizationsDelegates: AppLocalizations.localizationsDelegates,
|
||||
routes: _getRoutes,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue