fix(@desktop/onboarding): adapt account dropdown
-use StatusQ with updated PopupMenu Fixes #6822 Requires https://github.com/status-im/StatusQ/pull/853
This commit is contained in:
parent
185de9f4c8
commit
28bd67072d
|
@ -242,6 +242,13 @@ Item {
|
||||||
if (accountsPopup.opened) {
|
if (accountsPopup.opened) {
|
||||||
accountsPopup.close()
|
accountsPopup.close()
|
||||||
} else {
|
} else {
|
||||||
|
accountsPopup.topMargin =
|
||||||
|
Qt.binding(function(){
|
||||||
|
return userInfo.mapToItem(
|
||||||
|
root,
|
||||||
|
root.height,
|
||||||
|
userInfo.height + Style.current.halfPadding).y
|
||||||
|
})
|
||||||
accountsPopup.popup(
|
accountsPopup.popup(
|
||||||
userInfo,
|
userInfo,
|
||||||
(userInfo.width - accountsPopup.width) / 2,
|
(userInfo.width - accountsPopup.width) / 2,
|
||||||
|
|
Loading…
Reference in New Issue