Skip to content

Commit

Permalink
Edited main.dart & added rebuild shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
r2am9d committed Aug 28, 2022
1 parent b51ce45 commit b297c15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 1 addition & 9 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,7 @@ class _MyAppState extends State<MyApp> {
themeMode: appTheme.appTheme,
initialRoute: _initialRoute,
onGenerateRoute: AppRouter.generateRoute,
supportedLocales: const [
Locale('de'),
Locale('en'),
Locale('es'),
Locale('fr'),
Locale('it'),
Locale('lo'),
Locale('uk'),
],
supportedLocales: FormBuilderLocalizations.delegate.supportedLocales,
localizationsDelegates: const [
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
Expand Down
2 changes: 2 additions & 0 deletions scripts/rebuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs

0 comments on commit b297c15

Please sign in to comment.