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

Fix bug that prevented tint updates
pull/21833/head
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
1 changed files with 1 additions and 1 deletions

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);
},