bugfix: fixed visability of share drawer
This commit is contained in:
parent
25d759374c
commit
52c12940c4
4 changed files with 0 additions and 7 deletions
|
@ -26,8 +26,6 @@ DrawerType2 {
|
|||
property string copyButtonText: qsTr("Copy")
|
||||
property bool showSettingsButtonVisible: true
|
||||
|
||||
property bool contentVisible
|
||||
|
||||
property string configExtension: ".vpn"
|
||||
property string configCaption: qsTr("Save AmneziaVPN config")
|
||||
property string configFileName: "amnezia_config"
|
||||
|
@ -75,8 +73,6 @@ DrawerType2 {
|
|||
header: ColumnLayout {
|
||||
width: listView.width
|
||||
|
||||
visible: root.contentVisible
|
||||
|
||||
BasicButtonType {
|
||||
id: shareButton
|
||||
Layout.fillWidth: true
|
||||
|
|
|
@ -163,7 +163,6 @@ PageType {
|
|||
shareConnectionDrawer.headerText = qsTr("Amnezia Premium subscription key")
|
||||
|
||||
shareConnectionDrawer.openTriggered()
|
||||
shareConnectionDrawer.contentVisible = false
|
||||
shareConnectionDrawer.showSettingsButtonVisible = false;
|
||||
shareConnectionDrawer.shareButtonText = qsTr("Save VPN key to file")
|
||||
shareConnectionDrawer.copyButtonText = qsTr("Copy VPN key")
|
||||
|
|
|
@ -46,7 +46,6 @@ PageType {
|
|||
shareConnectionDrawer.configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text
|
||||
|
||||
shareConnectionDrawer.openTriggered()
|
||||
shareConnectionDrawer.contentVisible = true
|
||||
PageController.showBusyIndicator(true)
|
||||
|
||||
switch (type) {
|
||||
|
|
|
@ -141,7 +141,6 @@ PageType {
|
|||
shareConnectionDrawer.configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text
|
||||
|
||||
shareConnectionDrawer.openTriggered()
|
||||
shareConnectionDrawer.contentVisible = true
|
||||
|
||||
PageController.showBusyIndicator(false)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue