X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2FStatusArea.qml;fp=homescreen%2Fqml%2FStatusArea.qml;h=14ccb8f7f3e4e1e4fe761248ebd9f8ccb637b89a;hb=fb66fba2bfdd2f14adf9218e8a6d537c9121ed3c;hp=d2e0930f8e84cc3a4fbd5a569d01d5b6e115020e;hpb=a9df3eb09a85d479f26a14cd71a41e1de087c1ef;p=apps%2Fhomescreen.git diff --git a/homescreen/qml/StatusArea.qml b/homescreen/qml/StatusArea.qml index d2e0930..14ccb8f 100644 --- a/homescreen/qml/StatusArea.qml +++ b/homescreen/qml/StatusArea.qml @@ -37,13 +37,13 @@ Item { onConditionChanged: { var icon = '' - if (condition.indexOf("clouds") != -1) { + if (condition.indexOf("clouds") !== -1) { icon = "WeatherIcons_Cloudy-01.png" - } else if (condition.indexOf("thunderstorm") != -1) { + } else if (condition.indexOf("thunderstorm") !== -1) { icon = "WeatherIcons_Thunderstorm-01.png" - } else if (condition.indexOf("snow") != -1) { + } else if (condition.indexOf("snow") !== -1) { icon = "WeatherIcons_Snow-01.png" - } else if (condition.indexOf("rain") != -1) { + } else if (condition.indexOf("rain") !== -1) { icon = "WeatherIcons_Rain-01.png" }