mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
update: added encryption indicator on backup, share and api configs pages
This commit is contained in:
@@ -60,6 +60,15 @@ PageType {
|
||||
headerText: qsTr("Configuration Files")
|
||||
descriptionText: qsTr("For router setup or the AmneziaWG app")
|
||||
}
|
||||
|
||||
EncryptionIndicator {
|
||||
id: indicator
|
||||
|
||||
visible: SettingsController.isFileEncryptionEnabled()
|
||||
|
||||
textString: qsTr("Encryption enabled. Learn more")
|
||||
iconPath: "qrc:/images/controls/lock-locked.svg"
|
||||
}
|
||||
}
|
||||
|
||||
delegate: ColumnLayout {
|
||||
|
||||
@@ -67,6 +67,15 @@ PageType {
|
||||
headerText: qsTr("Back up your configuration")
|
||||
descriptionText: qsTr("You can save your settings to a backup file to restore them the next time you install the application.")
|
||||
}
|
||||
|
||||
EncryptionIndicator {
|
||||
id: indicator
|
||||
|
||||
visible: SettingsController.isFileEncryptionEnabled()
|
||||
|
||||
textString: qsTr("Encryption enabled. Learn more")
|
||||
iconPath: "qrc:/images/controls/lock-locked.svg"
|
||||
}
|
||||
}
|
||||
|
||||
model: 1 // fake model to force the ListView to be created without a model
|
||||
|
||||
@@ -271,6 +271,15 @@ PageType {
|
||||
color: AmneziaStyle.color.mutedGray
|
||||
}
|
||||
|
||||
EncryptionIndicator {
|
||||
id: indicator
|
||||
|
||||
visible: SettingsController.isFileEncryptionEnabled()
|
||||
|
||||
textString: qsTr("Encryption enabled. Learn more")
|
||||
iconPath: "qrc:/images/controls/lock-locked.svg"
|
||||
}
|
||||
|
||||
TextFieldWithHeaderType {
|
||||
id: clientNameTextField
|
||||
Layout.fillWidth: true
|
||||
|
||||
@@ -69,6 +69,15 @@ PageType {
|
||||
color: AmneziaStyle.color.mutedGray
|
||||
}
|
||||
|
||||
EncryptionIndicator {
|
||||
id: indicator
|
||||
|
||||
visible: SettingsController.isFileEncryptionEnabled()
|
||||
|
||||
textString: qsTr("Encryption enabled. Learn more")
|
||||
iconPath: "qrc:/images/controls/lock-locked.svg"
|
||||
}
|
||||
|
||||
DropDownType {
|
||||
id: serverSelector
|
||||
objectName: "serverSelector"
|
||||
|
||||
Reference in New Issue
Block a user