Merge pull request #1767 from matrix-org/luke/fix-tint-updating

Fix bug that prevented tint updates
This commit is contained in:
Matthew Hodgson 2018-02-22 11:15:19 +00:00 committed by GitHub
commit 663c7e5285
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -627,8 +627,8 @@ module.exports = React.createClass({
const room = this.state.room;
if (!room) return;
const color_scheme = SettingsStore.getValue("roomColor", room.room_id);
console.log("Tinter.tint from updateTint");
const color_scheme = SettingsStore.getValue("roomColor", room.roomId);
Tinter.tint(color_scheme.primary_color, color_scheme.secondary_color);
},