Show back button when pushing the settings on mobile

To use with https://invent.kde.org/frameworks/kirigami/-/merge_requests/992

Signed-off-by: Carl Schwan <carl@carlschwan.eu>


(cherry picked from commit 87213dc9dd)
This commit is contained in:
Carl Schwan
2023-03-14 15:35:34 +01:00
parent 3e5d1429f7
commit c4fdfa22d9

View File

@@ -165,7 +165,7 @@ Kirigami.ApplicationWindow {
pageStack.defaultColumnWidth: roomListPage ? roomListPage.currentWidth : 0
pageStack.globalToolBar.style: Kirigami.ApplicationHeaderStyle.ToolBar
pageStack.globalToolBar.showNavigationButtons: pageStack.currentIndex > 0 ? Kirigami.ApplicationHeaderStyle.ShowBackButton : 0
pageStack.globalToolBar.showNavigationButtons: pageStack.currentIndex > 0 || pageStack.layers.depth > 1 ? Kirigami.ApplicationHeaderStyle.ShowBackButton : 0
ConfirmLogoutDialog {
id: confirmLogoutDialog