1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

Use onSelectionChange prop

This commit is contained in:
Jorik Schellekens
2020-04-22 10:19:37 +01:00
parent 0d0da6cfdc
commit ba362b727c

View File

@@ -228,7 +228,7 @@ export default class StyleUserSettingsTab extends React.Component {
<Slider
values={[12, 14, 16, 18, 20]}
value={this.state.fontSize}
updateFontSize={this._onFontSizeChanged}
onSelectionChange={this._onFontSizeChanged}
displayFunc={value => value + 'px'}
/>
<Field