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:
parent
acf0c79341
commit
7e56e5b587
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user