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 r4bbit.eth
parent f2c2106ce9
commit b632c712c1
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;
}
}
}
}
}