fix: svgify user card pin button (#6399)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -153,7 +153,6 @@ public:
|
||||
|
||||
struct {
|
||||
QPixmap copy;
|
||||
QPixmap pin;
|
||||
} buttons;
|
||||
|
||||
QPalette palette;
|
||||
|
||||
Reference in New Issue
Block a user