You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +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