Merge pull request #2146

c82bffe SettingsLayout: fix order (selsta)
This commit is contained in:
luigi1111 2019-05-03 13:00:24 -05:00
commit f53d01be56
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -80,14 +80,6 @@ Rectangle {
text: qsTr("Enable transfer with payment ID (OBSOLETE)") + translationManager.emptyString
}
MoneroComponents.CheckBox {
visible: !isMobile
id: userInActivityCheckbox
checked: persistentSettings.lockOnUserInActivity
onClicked: persistentSettings.lockOnUserInActivity = !persistentSettings.lockOnUserInActivity
text: qsTr("Lock wallet on inactivity") + translationManager.emptyString
}
MoneroComponents.CheckBox {
id: themeCheckbox
checked: !MoneroComponents.Style.blackTheme
@ -98,6 +90,14 @@ Rectangle {
}
}
MoneroComponents.CheckBox {
visible: !isMobile
id: userInActivityCheckbox
checked: persistentSettings.lockOnUserInActivity
onClicked: persistentSettings.lockOnUserInActivity = !persistentSettings.lockOnUserInActivity
text: qsTr("Lock wallet on inactivity") + translationManager.emptyString
}
ColumnLayout {
visible: userInActivityCheckbox.checked
Layout.fillWidth: true