1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Mobile: Handle encrypted items on UI side

This commit is contained in:
Laurent Cozic
2017-12-28 19:57:21 +00:00
parent 9e869a5b1f
commit d180e7b5e1
7 changed files with 23 additions and 10 deletions

View File

@ -222,7 +222,7 @@ class Setting extends BaseModel {
}
static setObjectKey(settingKey, objectKey, value) {
const o = this.value(settingKey);
let o = this.value(settingKey);
if (typeof o !== 'object') o = {};
o[objectKey] = value;
this.setValue(settingKey, o);