mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
@@ -99,7 +99,7 @@ export default class StyleUserSettingsTab extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_onFontSizeChanged = (size) => {
|
_onFontSizeChanged = (size) => {
|
||||||
const parsedSize = isNaN(parseInt(size))?SettingsStore.getDefaultValue("font_size"):parseFloat(size);
|
const parsedSize = isNaN(parseInt(size)) ? SettingsStore.getDefaultValue("font_size") : parseFloat(size);
|
||||||
this.setState({fontSize: parsedSize});
|
this.setState({fontSize: parsedSize});
|
||||||
SettingsStore.setValue("font_size", null, SettingLevel.DEVICE, parsedSize);
|
SettingsStore.setValue("font_size", null, SettingLevel.DEVICE, parsedSize);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user