mobile UI/login: make divelist a proper object in main

Instanciate DiveList like all the other pages.

Move DiveList properties set in main to DiveList.qml

Signed-off-by: Jan Iversen <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2019-12-19 11:44:20 +01:00 committed by Dirk Hohndel
parent 4687de8c82
commit b83dcc4b25
2 changed files with 14 additions and 10 deletions

View file

@ -20,6 +20,14 @@ Kirigami.ScrollablePage {
property QtObject diveListModel: diveTripModel
property string numShownText
opacity: 0
Behavior on opacity {
NumberAnimation {
duration: 200
easing.type: Easing.OutQuad
}
}
supportsRefreshing: true
onRefreshingChanged: {
if (refreshing) {