WIP - Provider refactorings

This commit is contained in:
Anton Stubenbord
2022-12-27 00:12:33 +01:00
parent 60aecb549d
commit bf0e186646
53 changed files with 434 additions and 416 deletions

View File

@@ -44,9 +44,10 @@ class SettingsPage extends StatelessWidget {
Navigator.push(
context,
MaterialPageRoute(
builder: (ctxt) => BlocProvider.value(
value: BlocProvider.of<ApplicationSettingsCubit>(context),
child: page),
builder: (context) => BlocProvider.value(
value: context.read<ApplicationSettingsCubit>(),
child: page,
),
maintainState: true,
),
);