Merge pull request #5897 from matrix-org/travis/error-states

Improve message error states
This commit is contained in:
Travis Ralston 2021-04-26 08:16:26 -06:00 committed by GitHub
commit ddb8947c15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 368 additions and 225 deletions

View file

@ -18,6 +18,8 @@ import { NotificationColor } from "./NotificationColor";
import { NotificationState } from "./NotificationState";
export class StaticNotificationState extends NotificationState {
public static readonly RED_EXCLAMATION = StaticNotificationState.forSymbol("!", NotificationColor.Red);
constructor(symbol: string, count: number, color: NotificationColor) {
super();
this._symbol = symbol;