File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -176,13 +176,13 @@ class _AppViewState extends State<_AppView> {
176
176
},
177
177
child: BlocBuilder <AppBloc , AppState >(
178
178
// Build when theme-related properties change (including text scale factor)
179
- buildWhen:
180
- ( previous, current) =>
181
- previous.themeMode != current.themeMode ||
182
- previous.flexScheme != current.flexScheme ||
183
- previous.fontFamily != current.fontFamily ||
184
- previous.appTextScaleFactor != current.appTextScaleFactor ||
185
- previous.locale != current.locale , // Added locale check
179
+ buildWhen: (previous, current) =>
180
+ previous.themeMode != current.themeMode ||
181
+ previous.flexScheme != current.flexScheme ||
182
+ previous.fontFamily != current.fontFamily ||
183
+ previous.appTextScaleFactor != current.appTextScaleFactor ||
184
+ previous.locale != current.locale ||
185
+ previous.settings != current.settings , // Added settings check
186
186
builder: (context, state) {
187
187
print ('[_AppViewState] Building MaterialApp.router' );
188
188
print ('[_AppViewState] state.fontFamily: ${state .fontFamily }' );
You can’t perform that action at this time.
0 commit comments