@@ -24,7 +24,6 @@ Item {
2424 property var model
2525
2626 property int animDuration: 10
27− property bool useColor: true
2827
2928 QtObject {
3029 id: d
@@ -36,7 +35,6 @@ Item {
3635 || circleChangeAnimTimer.running
3736 }
3837
39− // Define a replacement white-based color theme when useColor is false
4038 QtObject {
4139 id: whiteTheme
4240 property color main: "white"
@@ -177,10 +175,7 @@ Item {
177175 ColorAnimation {
178176 target: pastCircle
179177 property: "color"
180− to: Gradient.threeColorByIndex(index, count,
181− useColor ?
182− infographic.model.secondColor :
183− whiteTheme)
178+ to: Gradient.threeColorByIndex(index, count, whiteTheme)
184179 easing.type: Easing.OutCurve
185180 duration: circleChangeAnimTimer.interval * d.circleModifier
186181 }
@@ -242,10 +237,7 @@ Item {
242237 ColorAnimation {
243238 target: presentCircle
244239 property: "color"
245− to: Gradient.threeColorByIndex(index, infographic.model.currentDay,
246− useColor ?
247− infographic.model.firstColor :
248− whiteTheme)
240+ to: Gradient.threeColorByIndex(index, infographic.model.currentDay, whiteTheme)
249241 easing.type: Easing.OutCurve
250242 duration: circleChangeAnimTimer.interval * d.circleModifier
251243 }