Skip to content

Commit

Permalink
add icon to alert
Browse files Browse the repository at this point in the history
add icon to alert
  • Loading branch information
slametps committed May 3, 2017
1 parent bd8ba4c commit 54cc855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMM-PrayerTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Module.register("MMM-PrayerTime",{
if (this.config.showAdzanAlert) {
var occasionNameUpper = (this.arrTodaySchedule[indexAdzan][0]).toUpperCase();
//console.log("occasionNameUpper-"+occasionNameUpper);
this.sendNotification("SHOW_ALERT", {title: this.translate("ADZAN"), message: this.translate("ALERT_ADZAN_MSG").replace("%OCCASION", this.translate(occasionNameUpper)), timer: this.config.alertTimer});
this.sendNotification("SHOW_ALERT", {title: this.translate("ADZAN"), imageFA: 'bullhorn', message: this.translate("ALERT_ADZAN_MSG").replace("%OCCASION", this.translate(occasionNameUpper)), timer: this.config.alertTimer});
}
//console.log("this.arrTodaySchedule[indexAdzan][0]).toUpperCase()-"+(this.arrTodaySchedule[indexAdzan][0]).toUpperCase());
this.sendSocketNotification("PLAY_ADZAN", {occasion: (this.arrTodaySchedule[indexAdzan][0]).toUpperCase()});
Expand Down

0 comments on commit 54cc855

Please sign in to comment.