mirror of https://github.com/vector-im/riot-web
parent
b27f1fa6db
commit
7b0e51a703
|
@ -29,8 +29,8 @@ import {ActionPayload} from "./dispatcher/payloads";
|
||||||
* Instances of this class are provided by the application.
|
* Instances of this class are provided by the application.
|
||||||
*/
|
*/
|
||||||
export default abstract class BasePlatform {
|
export default abstract class BasePlatform {
|
||||||
protected notificationCount: number = 0;
|
protected notificationCount = 0;
|
||||||
protected errorDidOccur: boolean = false;
|
protected errorDidOccur = false;
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
dis.register(this.onAction);
|
dis.register(this.onAction);
|
||||||
|
|
Loading…
Reference in New Issue