Skip to content

Commit

Permalink
revert provider scope as root
Browse files Browse the repository at this point in the history
  • Loading branch information
mixin27 committed Aug 15, 2024
1 parent d2a5b8c commit 713376f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ Future<void> main() async {
registerErrorHandlers(errorLogger);

runApp(
EasyLocalization(
supportedLocales: L10n.all,
path: L10n.translationPath,
fallbackLocale: L10n.en,
useOnlyLangCode: true,
child: UncontrolledProviderScope(
container: container,
UncontrolledProviderScope(
container: container,
child: EasyLocalization(
supportedLocales: L10n.all,
path: L10n.translationPath,
fallbackLocale: L10n.en,
useOnlyLangCode: true,
child: AppStartUpWidget(
onLoaded: (context) => AppWidget(),
),
Expand Down

0 comments on commit 713376f

Please sign in to comment.