Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2018-10-16 14:08:09 +00:00
commit 43ee22897b
1 changed files with 5 additions and 0 deletions

View File

@ -1403,6 +1403,11 @@ export default React.createClass({
break;
}
});
// Fire the tinter right on startup to ensure the default theme is applied
// A later sync can/will correct the tint to be the right value for the user
const color_scheme = SettingsStore.getValue("roomColor");
Tinter.tint(color_scheme.primary_color, color_scheme.secondary_color);
},
/**