mobile/UI: don't show warning if text field is not in flickable

It's entirely reasonable to use the component in a context where we
don't have a flickable. Simply don't try to reposition things in that
case.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-12-30 16:37:09 -08:00
parent 7ed32e3a49
commit bb1fb86f20

View file

@ -24,8 +24,6 @@ Controls.TextField {
onPressed: {
if (flickable !== undefined) {
waitForKeyboard.start()
} else {
manager.appendTextToLog("flickable is undefined")
}
}