From 319c312e19b17e65a001220bd8e9fb28f5aeb11b Mon Sep 17 00:00:00 2001 From: Ian Bicking Date: Wed, 18 Jan 2017 14:54:54 -0600 Subject: [PATCH] Change style/text of the badge, to blue and 'Hi' --- addon/lib/ab-highlight-button-on-install.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addon/lib/ab-highlight-button-on-install.js b/addon/lib/ab-highlight-button-on-install.js index b453c4ee6f..a425c15a7b 100644 --- a/addon/lib/ab-highlight-button-on-install.js +++ b/addon/lib/ab-highlight-button-on-install.js @@ -41,7 +41,9 @@ function refreshBadge(timestamp, hasCreatedShot) { console.log("refreshBadge", timestamp, hasCreatedShot); if ((! hasCreatedShot) && (Date.now() - timestamp < SHOW_BADGE_LIMIT)) { req.sendEvent("ab-highlight-button-shown", {ni: true}); - require("./main").shootButton.badge = " ! "; + let button = require("./main").shootButton; + button.badge = "Hi"; + button.badgeColor = "#00AFF7"; } else { require("./main").shootButton.badge = ""; }