Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-client into feature/new-gui

This commit is contained in:
vladimir.kuznetsov 2023-09-06 22:22:01 +05:00
commit a76e22c021
4 changed files with 7 additions and 4 deletions

View file

@ -13,6 +13,8 @@ import ContainerProps 1.0
import "./"
import "../Controls2"
import "../Controls2/TextTypes"
import "../Config"
import "../Components"
DrawerType {
id: root
@ -70,8 +72,8 @@ DrawerType {
imageSource: "qrc:/images/controls/share-2.svg"
onClicked: {
if (Qt.platform.os === "ios") {
ExportController.saveFile("amnezia_config.vpn")
if (GC.isMobile()) {
ExportController.saveFile(configFileName)
} else {
fileDialog.open()
}