From a1519a4acb824b0822e9ed1644aa3d9fb63c3043 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Mon, 30 Sep 2024 15:54:13 +0700 Subject: [PATCH] What's new for new users is not a great experience --- src/qml/qgismobileapp.qml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/qml/qgismobileapp.qml b/src/qml/qgismobileapp.qml index 20de7f0d00..e2f9b3f2b2 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -3829,11 +3829,16 @@ ApplicationWindow { Changelog { id: changelogPopup objectName: 'changelogPopup' - parent: Overlay.overlay - property var expireDate: new Date(2038, 1, 19) - visible: settings && settings.value("/QField/ChangelogVersion", "") !== appVersion && expireDate > new Date() + Component.onCompleted: { + const changelogVersion = settings.value("/QField/ChangelogVersion", ""); + if (changelogVersion === "") { + settings.setValue("/QField/ChangelogVersion", appVersion); + } else if (changelogVersion !== appVersion) { + open(); + } + } } Toast {