From a0081c9d4ea824af28d035ca9516c54325f003e3 Mon Sep 17 00:00:00 2001 From: erinn Date: Mon, 23 Nov 2020 16:36:50 -0800 Subject: [PATCH] fix indents --- qml/panes/AddPeerGroupPane.qml | 4 ++-- qml/panes/OverlayPane.qml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qml/panes/AddPeerGroupPane.qml b/qml/panes/AddPeerGroupPane.qml index 698040f2..cc60c9e4 100644 --- a/qml/panes/AddPeerGroupPane.qml +++ b/qml/panes/AddPeerGroupPane.qml @@ -74,8 +74,8 @@ Rectangle { color: root.color } - Opaque.TabBar { - id: tabBar + Opaque.TabBar { + id: tabBar visible: gcd.experimentsEnabled && Utils.checkMap(gcd.experiments, "tapir-groups-experiment") width: parent.width - parent.leftPadding - parent.rightPadding model: [qsTr("add-peer-tab"), qsTr("create-group-tab"), qsTr("join-group-tab")] diff --git a/qml/panes/OverlayPane.qml b/qml/panes/OverlayPane.qml index cd40de69..b7c85101 100644 --- a/qml/panes/OverlayPane.qml +++ b/qml/panes/OverlayPane.qml @@ -19,9 +19,9 @@ ColumnLayout { property bool accepted property bool inGroup - Opaque.TabBar { - id: tabBar - Layout.fillWidth: true + Opaque.TabBar { + id: tabBar + Layout.fillWidth: true model: [qsTr("chat-btn"), qsTr("lists-btn"), qsTr("bulletins-btn")] onCurrentIndexChanged: overlayStack.overlay = currentIndex + 1 @@ -67,7 +67,7 @@ ColumnLayout { target: gcd onResetMessagePane: function() { - tabBar.currentIndex = 0 + tabBar.currentIndex = 0 overlay.inGroup = false }