diff --git a/lib/components/search/search_results_body/parts/other_forms.dart b/lib/components/search/search_results_body/parts/other_forms.dart index 41a4dbb..40dfec3 100644 --- a/lib/components/search/search_results_body/parts/other_forms.dart +++ b/lib/components/search/search_results_body/parts/other_forms.dart @@ -22,12 +22,13 @@ class OtherForms extends StatelessWidget { Wrap( children: forms .map( - (form) => KanjiKanaBox( - word: form, - colors: BlocProvider.of(context) - .state - .theme - .menuGreyLight, + (form) => BlocBuilder( + builder: (context, state) { + return KanjiKanaBox( + word: form, + colors: state.theme.menuGreyLight, + ); + }, ), ) .toList(),