SettingsLayout: add checkbox 'ask for password before sending a transaction'

This commit is contained in:
rating89us
2020-04-16 20:07:10 +02:00
committed by rating89us
parent a75a0fb8c5
commit ffceda9159
2 changed files with 22 additions and 7 deletions

View File

@@ -78,6 +78,13 @@ Rectangle {
persistentSettings.blackTheme = MoneroComponents.Style.blackTheme;
}
}
MoneroComponents.CheckBox {
id: askPasswordBeforeSendingCheckbox
checked: persistentSettings.askPasswordBeforeSending
onClicked: persistentSettings.askPasswordBeforeSending = !persistentSettings.askPasswordBeforeSending
text: qsTr("Ask for password before sending a transaction") + translationManager.emptyString
}
MoneroComponents.CheckBox {
id: userInActivityCheckbox