1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-18 09:22:18 +03:00

apply theme tint at launch

This commit is contained in:
Matthew Hodgson
2017-10-26 01:43:42 +01:00
parent b3a8593468
commit ac7a94afb2

View File

@ -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() {