Drop the "s" from AccountsBar

This commit is contained in:
miruka 2020-05-13 20:23:56 -04:00
parent eff203032c
commit 94bcf323b2
2 changed files with 3 additions and 28 deletions

View File

@ -140,28 +140,3 @@ Rectangle {
} }
} }
} }
// HButton {
// id: settingsButton
// backgroundColor: theme.accountsBar.settingsButtonBackground
// icon.name: "settings"
// toolTip.text: qsTr("Open config folder")
// onClicked: py.callCoro("get_config_dir", [], Qt.openUrlExternally)
// Layout.preferredHeight: theme.baseElementsHeight
// }
// HButton {
// id: addAccountButton
// icon.name: "add-account"
// toolTip.text: qsTr("Add another account")
// backgroundColor: theme.accountsBar.addAccountButtonBackground
// onClicked: pageLoader.showPage("AddAccount/AddAccount")
// Layout.preferredHeight: theme.baseElementsHeight
// HShortcut {
// sequences: window.settings.keys.addNewAccount
// onActivated: addAccountButton.clicked()
// }
// }

View File

@ -10,7 +10,7 @@ HDrawer {
background: Rectangle { color: theme.mainPane.background } background: Rectangle { color: theme.mainPane.background }
minimumSize: theme.controls.avatar.size + theme.spacing * 2 minimumSize: theme.controls.avatar.size + theme.spacing * 2
readonly property alias accountsBar: accountsBar readonly property alias accountBar: accountBar
readonly property alias roomList: roomList readonly property alias roomList: roomList
readonly property alias bottomBar: bottomBar readonly property alias bottomBar: bottomBar
@ -29,8 +29,8 @@ HDrawer {
Layout.fillWidth: true Layout.fillWidth: true
} }
AccountsBar { AccountBar {
id: accountsBar id: accountBar
roomList: roomList roomList: roomList
Layout.fillWidth: true Layout.fillWidth: true