mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-22 13:57:29 +01:00
Fix extensive search not showing
This commit is contained in:
parent
935d2a17df
commit
9e50221abd
@ -30,14 +30,15 @@ class Sense extends StatelessWidget {
|
||||
return supplementalInfo;
|
||||
}
|
||||
|
||||
List<String> get _supplementalWithoutAntonyms =>
|
||||
_removeAntonyms(List.from(meaning?.supplemental ?? []));
|
||||
List<String>? get _supplementalWithoutAntonyms =>
|
||||
(meaning == null) ? null :
|
||||
_removeAntonyms(List.from(meaning!.supplemental));
|
||||
|
||||
bool get hasSupplementalInfo =>
|
||||
sense.info.isNotEmpty ||
|
||||
sense.source.isNotEmpty ||
|
||||
sense.tags.isNotEmpty ||
|
||||
_supplementalWithoutAntonyms.isNotEmpty;
|
||||
(_supplementalWithoutAntonyms?.isNotEmpty ?? false);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => BlocBuilder<ThemeBloc, ThemeState>(
|
||||
|
Loading…
Reference in New Issue
Block a user