summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-06-08 22:18:51 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-06-08 22:22:33 +0200
commitd364c29c43dca128f516c5f7d4e925b27347f558 (patch)
treebb590665fc68091fcc62773cc4792d4f4684ea6b /resources/qml/TimelineView.qml
parentSomewhat reenable the adaptive layout (diff)
downloadnheko-d364c29c43dca128f516c5f7d4e925b27347f558.tar.xz
Implement switching in narrow mode
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 747be61e..095103fa 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -19,6 +19,7 @@ Item {
     id: timelineView
 
     property var room: null
+    property bool showBackButton: false
 
     Label {
         visible: !room && !TimelineManager.isInitialSync
@@ -45,6 +46,7 @@ Item {
         spacing: 0
 
         TopBar {
+            showBackButton: timelineView.showBackButton
         }
 
         Rectangle {