You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
keep the existing colour scheme
This commit is contained in:
@ -939,12 +939,12 @@ module.exports = React.createClass({
|
|||||||
// This needs to be in in a try block as it will throw
|
// This needs to be in in a try block as it will throw
|
||||||
// if there are more than 100 badge count changes in
|
// if there are more than 100 badge count changes in
|
||||||
// its internal queue
|
// its internal queue
|
||||||
var bgColor = "#0d0",
|
var bgColor = "#d00",
|
||||||
notif = notifCount;
|
notif = notifCount;
|
||||||
|
|
||||||
if(state === "ERROR") {
|
if(state === "ERROR") {
|
||||||
notif = notif || "×";
|
notif = notif || "×";
|
||||||
bgColor = "#d00";
|
bgColor = "#f00";
|
||||||
}
|
}
|
||||||
|
|
||||||
this.favicon.badge(notif, {
|
this.favicon.badge(notif, {
|
||||||
|
Reference in New Issue
Block a user