diff --git a/launcher/ui/Main.qml b/launcher/ui/Main.qml index ba08f48..edf721e 100644 --- a/launcher/ui/Main.qml +++ b/launcher/ui/Main.qml @@ -17,7 +17,7 @@ Kirigami.ApplicationWindow { minimumWidth: 800 minimumHeight: 500 - title: pageStack.currentItem !== undefined ? pageStack.currentItem.title : "" + title: pageStack.currentItem?.title ?? "" property bool checkedAutoLogin: false diff --git a/launcher/ui/Setup/SetupPage.qml b/launcher/ui/Setup/SetupPage.qml index 821c65a..c61d8b0 100644 --- a/launcher/ui/Setup/SetupPage.qml +++ b/launcher/ui/Setup/SetupPage.qml @@ -21,7 +21,7 @@ FormCard.FormCardPage { globalToolBarStyle: Kirigami.ApplicationHeaderStyle.None header: Kirigami.Separator { - width: root.width + width: page.width } data: FolderDialog { @@ -142,7 +142,7 @@ FormCard.FormCardPage { } FormCard.FormCard { - visible: root.isInitialSetup + visible: page.isInitialSetup Layout.topMargin: Kirigami.Units.largeSpacing