chore: if cached morph meaning response is null, show meaning not found message (#2249)
This commit is contained in:
parent
66e0f867d1
commit
5dc64c64c7
1 changed files with 3 additions and 1 deletions
|
|
@ -155,7 +155,9 @@ class MorphMeaningWidgetState extends State<MorphMeaningWidget> {
|
|||
children: [
|
||||
if (widget.leading != null) widget.leading!,
|
||||
if (widget.leading != null) const TextSpan(text: ' '),
|
||||
TextSpan(text: _cachedResponse!),
|
||||
TextSpan(
|
||||
text: _cachedResponse ?? L10n.of(context).meaningNotFound,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue