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;
|
return supplementalInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<String> get _supplementalWithoutAntonyms =>
|
List<String>? get _supplementalWithoutAntonyms =>
|
||||||
_removeAntonyms(List.from(meaning?.supplemental ?? []));
|
(meaning == null) ? null :
|
||||||
|
_removeAntonyms(List.from(meaning!.supplemental));
|
||||||
|
|
||||||
bool get hasSupplementalInfo =>
|
bool get hasSupplementalInfo =>
|
||||||
sense.info.isNotEmpty ||
|
sense.info.isNotEmpty ||
|
||||||
sense.source.isNotEmpty ||
|
sense.source.isNotEmpty ||
|
||||||
sense.tags.isNotEmpty ||
|
sense.tags.isNotEmpty ||
|
||||||
_supplementalWithoutAntonyms.isNotEmpty;
|
(_supplementalWithoutAntonyms?.isNotEmpty ?? false);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) => BlocBuilder<ThemeBloc, ThemeState>(
|
Widget build(BuildContext context) => BlocBuilder<ThemeBloc, ThemeState>(
|
||||||
|
Loading…
Reference in New Issue
Block a user