add bug link

pull/21833/head
David Baker 2019-11-20 15:37:48 +00:00
parent a744415221
commit 518130c912
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ export class ThemeWatcher {
}
// XXX: forceTheme param aded here as local echo appears to be unreliable
// https://github.com/vector-im/riot-web/issues/11443
recheck(forceTheme) {
const oldTheme = this._currentTheme;
this._currentTheme = forceTheme === undefined ? this.getEffectiveTheme() : forceTheme;