diff options
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 8 | ||||
-rw-r--r-- | mobile-widgets/qml/main.qml | 16 |
2 files changed, 14 insertions, 10 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 0b3f40ade..7b441b521 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -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) { diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 7e859936c..b20ce4262 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -708,16 +708,7 @@ if you have network connectivity and want to sync your data to cloud storage."), } } - pageStack.initialPage: DiveList { - id: diveList - opacity: 0 - Behavior on opacity { - NumberAnimation { - duration: 200 - easing.type: Easing.OutQuad - } - } - } + pageStack.initialPage: diveList property int hackToOpenMap: 0 /* Otherpage */ /* I really want an enum, but those are painful in QML, so let's use numbers @@ -783,6 +774,11 @@ if you have network connectivity and want to sync your data to cloud storage."), id: manager } + DiveList { + id: diveList + visible: false + } + Settings { id: settingsWindow visible: false |