Fix browser tab highlight
This commit is contained in:
parent
5b8c34fc9b
commit
d50bbcf8ef
@ -115,6 +115,7 @@ const Main: FC<StateProps & DispatchProps> = ({
|
|||||||
const initialUnread = selectCountNotMutedUnread(getGlobal());
|
const initialUnread = selectCountNotMutedUnread(getGlobal());
|
||||||
let index = 0;
|
let index = 0;
|
||||||
|
|
||||||
|
clearInterval(notificationInterval);
|
||||||
notificationInterval = window.setInterval(() => {
|
notificationInterval = window.setInterval(() => {
|
||||||
if (index % 2 === 0) {
|
if (index % 2 === 0) {
|
||||||
const newUnread = selectCountNotMutedUnread(getGlobal()) - initialUnread;
|
const newUnread = selectCountNotMutedUnread(getGlobal()) - initialUnread;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user