fix: Icon components had wrong color in sandbox app

Icon color in Icons page was broken as setting it
in main.qml was mistakenly removed. Set it back to
Theme.palette.primaryColor1

Closes #538
This commit is contained in:
Alexandra Betouni 2022-01-31 21:55:31 +02:00 committed by Michał Cieślak
parent 8e4b6c3dca
commit dc9cb8a08a
1 changed files with 6 additions and 1 deletions

View File

@ -273,7 +273,12 @@ StatusWindow {
Loader {
id: viewLoader
anchors.centerIn: parent
source: control("Icons")
source: mainPageView.control("Icons")
onSourceChanged: {
if (source.toString().includes("Icons")) {
item.iconColor = Theme.palette.primaryColor1;
}
}
}
}
}