fix: svgify user card pin button (#6399)

This commit is contained in:
James Upjohn
2025-08-18 00:18:23 +12:00
committed by GitHub
parent b85073e673
commit 565c63d0df
13 changed files with 97 additions and 29 deletions
-2
View File
@@ -549,12 +549,10 @@ void Theme::parseFrom(const QJsonObject &root, bool isCustomTheme)
if (this->isLightTheme())
{
this->buttons.copy = getResources().buttons.copyDark;
this->buttons.pin = getResources().buttons.pinDisabledDark;
}
else
{
this->buttons.copy = getResources().buttons.copyLight;
this->buttons.pin = getResources().buttons.pinDisabledLight;
}
// This assumes that we never update the application palette
-1
View File
@@ -153,7 +153,6 @@ public:
struct {
QPixmap copy;
QPixmap pin;
} buttons;
QPalette palette;