Merge pull request #5897 from matrix-org/travis/error-states
Improve message error states
This commit is contained in:
commit
ddb8947c15
23 changed files with 368 additions and 225 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue