From 1395810e4bd3360b358b9ea54394b95d32678a65 Mon Sep 17 00:00:00 2001 From: Jozef Mlich Date: Fri, 13 Dec 2024 13:18:29 +0100 Subject: [PATCH] Hide back button when there isn't any page on stack --- ui/qml/components/platform.uuitk/HeaderBarImpl.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/qml/components/platform.uuitk/HeaderBarImpl.qml b/ui/qml/components/platform.uuitk/HeaderBarImpl.qml index 2a727469..2ff100fd 100644 --- a/ui/qml/components/platform.uuitk/HeaderBarImpl.qml +++ b/ui/qml/components/platform.uuitk/HeaderBarImpl.qml @@ -29,6 +29,7 @@ UC.PageHeader { navigationActions: UC.Action { iconSource: styler.iconBack onTriggered: app.pages.pop() + visible: (app.pages.currentIndex > 0) } title: page.title width: page.width