mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-23 12:59:44 +00:00
parent
44c9f480c2
commit
d361853d0d
@ -328,9 +328,27 @@ ModalPopup {
|
||||
id: ensOnlySwitch
|
||||
anchors.top: privateExplanation.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
isEnabled: profileModel.profile.ensVerified
|
||||
text: qsTr("Require ENS username")
|
||||
isSwitch: true
|
||||
onClicked: switchChecked = checked
|
||||
|
||||
StatusToolTip {
|
||||
visible: !ensOnlySwitch.isEnabled && ensMouseArea.isHovered
|
||||
text: qsTr("You can only enable this setting if you have an ENS name")
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
property bool isHovered: false
|
||||
|
||||
id: ensMouseArea
|
||||
enabled: !ensOnlySwitch.isEnabled
|
||||
visible: enabled
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onEntered: isHovered = true
|
||||
onExited: isHovered = false
|
||||
}
|
||||
}
|
||||
|
||||
StyledText {
|
||||
|
Loading…
x
Reference in New Issue
Block a user