From 3d20a64502aa4522f99f01ee6d6f6ab1111a76c5 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 13 Apr 2018 01:25:00 +0100 Subject: [PATCH] export enum via method for convenience from matrix-react-sdk --- src/vector/platform/VectorBasePlatform.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vector/platform/VectorBasePlatform.js b/src/vector/platform/VectorBasePlatform.js index c3df04f5..4bf300a5 100644 --- a/src/vector/platform/VectorBasePlatform.js +++ b/src/vector/platform/VectorBasePlatform.js @@ -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