diff options
Diffstat (limited to 'gui/components/Footer.qml')
-rw-r--r-- | gui/components/Footer.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gui/components/Footer.qml b/gui/components/Footer.qml index 71477b4..11f5114 100644 --- a/gui/components/Footer.qml +++ b/gui/components/Footer.qml @@ -11,7 +11,7 @@ ToolBar { Material.background: Theme.bgColor Material.foreground: "black" Material.elevation: 0 - visible: stackView.depth > 1 && ctx !== undefined ? false : true + visible: isFooterVisible() Item { @@ -186,4 +186,12 @@ ToolBar { return false } } + + function isFooterVisible() { + console.debug(stackView.depth) + if (stackView.depth > 1) { + return false + } + return true + } } |