mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
apply theme tint at launch
This commit is contained in:
parent
b3a8593468
commit
ac7a94afb2
@ -276,6 +276,9 @@ module.exports = React.createClass({
|
||||
this._windowWidth = 10000;
|
||||
this.handleResize();
|
||||
window.addEventListener('resize', this.handleResize);
|
||||
|
||||
// check we have the right tint applied for this theme
|
||||
Tinter.tint();
|
||||
},
|
||||
|
||||
componentDidMount: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user