mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
fixed saving of configs for mobile platforms
This commit is contained in:
@@ -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 + ")"),
|
||||
|
||||
Reference in New Issue
Block a user