mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-13 21:07:46 +00:00
Don't hide toolbar on the setup page unless it's during initial setup
This commit is contained in:
parent
fb28dd3480
commit
c9c8efd734
1 changed files with 3 additions and 2 deletions
|
@ -18,11 +18,12 @@ FormCard.FormCardPage {
|
||||||
readonly property bool isInitialSetup: !LauncherCore.profileManager.hasAnyExistingInstallations()
|
readonly property bool isInitialSetup: !LauncherCore.profileManager.hasAnyExistingInstallations()
|
||||||
|
|
||||||
title: isInitialSetup ? i18n("Initial Setup") : i18n("Profile Setup")
|
title: isInitialSetup ? i18n("Initial Setup") : i18n("Profile Setup")
|
||||||
globalToolBarStyle: Kirigami.ApplicationHeaderStyle.None
|
globalToolBarStyle: isInitialSetup ? Kirigami.ApplicationHeaderStyle.None : Kirigami.ApplicationHeaderStyle.ToolBar
|
||||||
|
|
||||||
header: Kirigami.Separator {
|
readonly property Kirigami.Separator prettySeparator: Kirigami.Separator {
|
||||||
width: page.width
|
width: page.width
|
||||||
}
|
}
|
||||||
|
header: isInitialSetup ? prettySeparator : null
|
||||||
|
|
||||||
data: FolderDialog {
|
data: FolderDialog {
|
||||||
id: installFolderDialog
|
id: installFolderDialog
|
||||||
|
|
Loading…
Add table
Reference in a new issue