diff options
Diffstat (limited to 'launcher/components/Spell.qml')
| -rw-r--r-- | launcher/components/Spell.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/components/Spell.qml b/launcher/components/Spell.qml index d4f505b..fe01c3f 100644 --- a/launcher/components/Spell.qml +++ b/launcher/components/Spell.qml @@ -63,8 +63,8 @@ IComponent { return { valid: isValid, priority: isValid, - answer: isValid ? answer : "", - predictiveCompletion: isValid ? answer.slice(input.length) : "" + answer: answer || "", + predictiveCompletion: answer?.slice(input.length) || "" }; } |
