@@ -26,6 +26,8 @@ Item {
27 property int animDuration: 10
27 property int animDuration: 10
29+ property int currentDay: -1 // Boot time value
29 QtObject {
31 QtObject {
31 objectName: "infographicPrivate"
33 objectName: "infographicPrivate"
@@ -50,14 +52,20 @@ Item {
50 onDataDisappeared: startShowAnimation() // show "no data" label
52 onDataDisappeared: startShowAnimation() // show "no data" label
53− function startShowAnimation() {
54− dotHideAnimTimer.stop()
55− notification.hideAnim.stop()
56+ function startShowAnimation() {
57+ if(currentDay !== model.currentDay){
58+ currentDay = model.currentDay
59+ model.nextDataSource();
61+ dotHideAnimTimer.stop()
62+ notification.hideAnim.stop()
57− if (d.useDotAnimation) {
64+ if (d.useDotAnimation) {
58− dotShowAnimTimer.startFromBeginning()
65+ dotShowAnimTimer.startFromBeginning()
67+ notification.showAnim.start()
60− notification.showAnim.start()
63 function startHideAnimation() {
71 function startHideAnimation() {