refactor!: migrate Phase 4 name-changing providers (1-2/2)

BREAKING CHANGE: Provider names changed for clarity

- themeModeProvider → appThemeModeProvider
- localeProvider → appLocaleProvider

Migrated to @riverpod code generation.
Updated all usages (4-5 occurrences each).
All tests passing.

Phase 4 Complete!
This commit is contained in:
cogwheel0
2025-09-30 14:54:24 +05:30
parent 770c1c677f
commit 3352aa2d6a
3 changed files with 11 additions and 17 deletions

View File

@@ -141,9 +141,9 @@ class _ConduitAppState extends ConsumerState<ConduitApp> {
@override
Widget build(BuildContext context) {
final themeMode = ref.watch(themeModeProvider.select((mode) => mode));
final themeMode = ref.watch(appThemeModeProvider.select((mode) => mode));
final router = ref.watch(goRouterProvider);
final locale = ref.watch(localeProvider);
final locale = ref.watch(appLocaleProvider);
return ErrorBoundary(
child: MaterialApp.router(