Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Change style/text of the badge, to blue and 'Hi'
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed Jan 18, 2017
1 parent c7e6c3e commit 319c312
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/lib/ab-highlight-button-on-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
}
Expand Down

0 comments on commit 319c312

Please sign in to comment.