mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
removed invalid code, and fixed top button hidden-shown
This commit is contained in:
@@ -91,7 +91,7 @@ PageType {
|
||||
questionDrawer.noButtonText = qsTr("Cancel")
|
||||
|
||||
questionDrawer.yesButtonFunction = function() {
|
||||
questionDrawer.onClose()
|
||||
questionDrawer.close()
|
||||
SettingsController.primaryDns = "1.1.1.1"
|
||||
primaryDns.textFieldText = SettingsController.primaryDns
|
||||
SettingsController.secondaryDns = "1.0.0.1"
|
||||
@@ -99,7 +99,7 @@ PageType {
|
||||
PageController.showNotificationMessage(qsTr("Settings have been reset"))
|
||||
}
|
||||
questionDrawer.noButtonFunction = function() {
|
||||
questionDrawer.onClose()
|
||||
questionDrawer.close()
|
||||
}
|
||||
questionDrawer.open()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user