From 99e439a0ef45bcb9a4d955b7f93e78409106fcd7 Mon Sep 17 00:00:00 2001 From: Khushboo-dev-cpp Date: Mon, 10 Feb 2025 12:15:39 +0100 Subject: [PATCH] fix(@desktop/wallet): Dark mode - hovering the items of the account selector do not highlight the items. This works fine with other elements such as Network selector or token selector. --- ui/imports/shared/controls/AccountSelector.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ui/imports/shared/controls/AccountSelector.qml b/ui/imports/shared/controls/AccountSelector.qml index cbc920cbdd..ce63ad3afa 100644 --- a/ui/imports/shared/controls/AccountSelector.qml +++ b/ui/imports/shared/controls/AccountSelector.qml @@ -2,6 +2,7 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import QtQml 2.15 +import QtGraphicalEffects 1.15 import StatusQ 0.1 import StatusQ.Controls 0.1 @@ -53,6 +54,20 @@ StatusComboBox { popupContentItemObjectName: "accountSelectorList" control.popup.width: 430 + control.popup.background: Rectangle { + radius: Theme.radius + color: Theme.palette.background + border.color: Theme.palette.border + layer.enabled: true + layer.effect: DropShadow { + verticalOffset: 3 + radius: 8 + samples: 15 + fast: true + cached: true + color: "#22000000" + } + } control.valueRole: "address" control.textRole: "name"