You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
apply theme tint at launch
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user