fixed saving of configs for mobile platforms

This commit is contained in:
vladimir.kuznetsov 2023-09-13 16:34:03 +05:00
parent 4ae608ed93
commit d93b5a7b5c

View file

@ -33,7 +33,7 @@ DrawerType {
onClosed: {
configExtension = ".vpn"
configCaption = qsTr("Save AmneziaVPN config")
configFileName = "amnezia_config.vpn"
configFileName = "amnezia_config"
}
Item {
@ -74,7 +74,7 @@ DrawerType {
onClicked: {
var fileName = ""
if (GC.isMobile()) {
fileName = configFileName
fileName = configFileName + configExtension
} else {
fileName = SystemController.getFileName(configCaption,
qsTr("Config files (*" + configExtension + ")"),