1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-02-16 19:47:40 +02:00

Mobile: Fixes #207: Crash when changing dropdown value in config screen

This commit is contained in:
Laurent Cozic 2018-02-11 17:26:20 +00:00
parent acf0c79341
commit 7e56e5b587

View File

@ -114,7 +114,7 @@ class ConfigScreenComponent extends BaseScreenComponent {
const updateSettingValue = (key, value) => {
const settings = Object.assign({}, this.state.settings);
settings[key] = value;
settings[key] = Setting.formatValue(key, value);
this.setState({
settings: settings,
settingsChanged: true,