mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-01 11:03:18 +03:00
apply theme tint at launch
This commit is contained in:
parent
b3a8593468
commit
ac7a94afb2
1 changed files with 3 additions and 0 deletions
|
@ -276,6 +276,9 @@ module.exports = React.createClass({
|
||||||
this._windowWidth = 10000;
|
this._windowWidth = 10000;
|
||||||
this.handleResize();
|
this.handleResize();
|
||||||
window.addEventListener('resize', this.handleResize);
|
window.addEventListener('resize', this.handleResize);
|
||||||
|
|
||||||
|
// check we have the right tint applied for this theme
|
||||||
|
Tinter.tint();
|
||||||
},
|
},
|
||||||
|
|
||||||
componentDidMount: function() {
|
componentDidMount: function() {
|
||||||
|
|
Loading…
Reference in a new issue