word_search: mark ambiguous cross references with question mark icon
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
- (Re)added a custom splash screen for nicer looking app startup.
|
||||
- (Re)added a custom launcher icon for the app.
|
||||
- Don't collapse meaning/yomi lists in kanji search results despite the list being long.
|
||||
- Mark ambiguous antonyms and "See also" references with a question mark icon.
|
||||
|
||||
## Bugfixes 🐞
|
||||
|
||||
|
||||
@@ -88,6 +88,9 @@ class Sense extends StatelessWidget {
|
||||
(antonym) => SearchResultCard(
|
||||
result: antonym.xrefResult!,
|
||||
backgroundColor: Colors.black38,
|
||||
leading: antonym.ambiguous
|
||||
? const Icon(Icons.question_mark)
|
||||
: null,
|
||||
),
|
||||
),
|
||||
if (sense.seeAlso.isNotEmpty &&
|
||||
@@ -102,6 +105,9 @@ class Sense extends StatelessWidget {
|
||||
(seeAlso) => SearchResultCard(
|
||||
result: seeAlso.xrefResult!,
|
||||
backgroundColor: Colors.black38,
|
||||
leading: seeAlso.ambiguous
|
||||
? const Icon(Icons.question_mark)
|
||||
: null,
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user