mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-21 02:01:03 +07:00
moved the platform-specific android code for the new ui
This commit is contained in:
@@ -54,10 +54,10 @@ DrawerType {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 16
|
||||
|
||||
text: qsTr("Save connection code")
|
||||
text: Qt.platform.os === "android" ? qsTr("Share") : qsTr("Save connection code")
|
||||
|
||||
onClicked: {
|
||||
ExportController.saveFile()
|
||||
Qt.platform.os === "android" ? ExportController.shareFile() : ExportController.saveFile()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user