mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-24 04:28:58 +00:00
fix(@desktop/onboarding): make account name area clickable
Closes: #6518
This commit is contained in:
parent
001748ff6d
commit
492afe6996
@ -158,6 +158,23 @@ Item {
|
||||
color: Theme.palette.directColor1
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
property bool accountPopupOpened: false
|
||||
|
||||
anchors.fill: parent
|
||||
anchors.margins: -10
|
||||
hoverEnabled: true
|
||||
onEntered: {
|
||||
accountPopupOpened = accountsPopup.opened
|
||||
}
|
||||
onPressed: {
|
||||
if (!accountPopupOpened) {
|
||||
changeAccountBtn.clicked(mouse)
|
||||
}
|
||||
accountPopupOpened = accountsPopup.opened
|
||||
}
|
||||
}
|
||||
|
||||
StatusQControls.StatusFlatRoundButton {
|
||||
icon.name: "chevron-down"
|
||||
type: StatusQControls.StatusFlatRoundButton.Type.Tertiary
|
||||
|
Loading…
x
Reference in New Issue
Block a user