Mobile/filtering: don't show the filter line when pulling divelist down

Even though the height was zero, when pulling down the dive list for refresh,
the filter input line would still be visible. With this fix it no longer is.

Also remove unused property.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-10-31 12:52:51 -07:00
parent 26f6d95305
commit 4636fcc834

View file

@ -367,7 +367,7 @@ Kirigami.ScrollablePage {
id: filterHeader
Rectangle {
id: filterRectangle
default property alias data: filterBar.data
visible: filterBar.height > 0
implicitHeight: filterBar.implicitHeight
implicitWidth: filterBar.implicitWidth
height: filterBar.height