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._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() {