Skip to content

Commit

Permalink
Fix notification (#4175)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Sep 20, 2024
1 parent 643b484 commit f88b6aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/tabs/onboard_logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,9 @@ onboard_logging.initialize = function (callback) {

$(".dataflash-saving").addClass("done");

NotificationManager.showNotification("Betaflight Configurator", {body: i18n.getMessage('flashDownloadDoneNotification'), icon: "/images/pwa/favicon.ico"});
if (getConfig('showNotifications')) {
NotificationManager.showNotification("Betaflight Configurator", {body: i18n.getMessage('flashDownloadDoneNotification'), icon: "/images/pwa/favicon.ico"});
}
}

function flash_update_summary(onDone) {
Expand Down

0 comments on commit f88b6aa

Please sign in to comment.