bugfix: fixed visability of share drawer

This commit is contained in:
vladimir.kuznetsov 2025-02-15 13:57:44 +07:00
parent 25d759374c
commit 52c12940c4
4 changed files with 0 additions and 7 deletions

View file

@ -26,8 +26,6 @@ DrawerType2 {
property string copyButtonText: qsTr("Copy") property string copyButtonText: qsTr("Copy")
property bool showSettingsButtonVisible: true property bool showSettingsButtonVisible: true
property bool contentVisible
property string configExtension: ".vpn" property string configExtension: ".vpn"
property string configCaption: qsTr("Save AmneziaVPN config") property string configCaption: qsTr("Save AmneziaVPN config")
property string configFileName: "amnezia_config" property string configFileName: "amnezia_config"
@ -75,8 +73,6 @@ DrawerType2 {
header: ColumnLayout { header: ColumnLayout {
width: listView.width width: listView.width
visible: root.contentVisible
BasicButtonType { BasicButtonType {
id: shareButton id: shareButton
Layout.fillWidth: true Layout.fillWidth: true

View file

@ -163,7 +163,6 @@ PageType {
shareConnectionDrawer.headerText = qsTr("Amnezia Premium subscription key") shareConnectionDrawer.headerText = qsTr("Amnezia Premium subscription key")
shareConnectionDrawer.openTriggered() shareConnectionDrawer.openTriggered()
shareConnectionDrawer.contentVisible = false
shareConnectionDrawer.showSettingsButtonVisible = false; shareConnectionDrawer.showSettingsButtonVisible = false;
shareConnectionDrawer.shareButtonText = qsTr("Save VPN key to file") shareConnectionDrawer.shareButtonText = qsTr("Save VPN key to file")
shareConnectionDrawer.copyButtonText = qsTr("Copy VPN key") shareConnectionDrawer.copyButtonText = qsTr("Copy VPN key")

View file

@ -46,7 +46,6 @@ PageType {
shareConnectionDrawer.configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text shareConnectionDrawer.configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text
shareConnectionDrawer.openTriggered() shareConnectionDrawer.openTriggered()
shareConnectionDrawer.contentVisible = true
PageController.showBusyIndicator(true) PageController.showBusyIndicator(true)
switch (type) { switch (type) {

View file

@ -141,7 +141,6 @@ PageType {
shareConnectionDrawer.configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text shareConnectionDrawer.configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text
shareConnectionDrawer.openTriggered() shareConnectionDrawer.openTriggered()
shareConnectionDrawer.contentVisible = true
PageController.showBusyIndicator(false) PageController.showBusyIndicator(false)
} }