export enum via method for convenience from matrix-react-sdk

This commit is contained in:
Matthew Hodgson 2018-04-13 01:25:00 +01:00
parent be34c84704
commit 3d20a64502
1 changed files with 5 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export default class VectorBasePlatform extends BasePlatform {
super();
// The 'animations' are really low framerate and look terrible.
// Also it re-starts the animationb every time you set the badge,
// Also it re-starts the animation every time you set the badge,
// and we set the state each time, even if the value hasn't changed,
// so we'd need to fix that if enabling the animation.
this.favicon = new Favico({animation: 'none'});
@ -117,6 +117,10 @@ export default class VectorBasePlatform extends BasePlatform {
})
}
getUpdateCheckStatusEnum() {
return updateCheckStatusEnum;
}
/**
* Update the currently running app to the latest available
* version and replace this instance of the app with the