1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-07 18:56:24 +01:00

SettingsLayout: fix order

This commit is contained in:
selsta 2019-05-01 23:17:41 +02:00
parent 97cd215491
commit c82bffeacc
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

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