From 5c6cdb2a24e2d0fb54a72139af5d8d715ebbfe93 Mon Sep 17 00:00:00 2001
From: Dirk Hohndel <dirk@hohndel.org>
Date: Tue, 19 Apr 2016 04:12:14 -0700
Subject: [PATCH] Show back button on iOS even for the first page

This way the app can use the back button to exit.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
---
 src/qml/private/BackButton.qml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/qml/private/BackButton.qml b/src/qml/private/BackButton.qml
index 56694b4..0f6e486 100644
--- a/src/qml/private/BackButton.qml
+++ b/src/qml/private/BackButton.qml
@@ -26,8 +26,7 @@ MouseArea {
         top: parent.contentItem.top
         bottom: parent.contentItem.bottom
     }
-    width: visible ? height : 0
-    visible: __appWindow.pageStack.currentIndex > 0
+    width: height
     onClicked: __appWindow.pageStack.goBack();
     Rectangle {
         anchors.verticalCenter: parent.verticalCenter
-- 
2.6.4 (Apple Git-63)

