1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Android v0.10.71

This commit is contained in:
Laurent Cozic
2018-01-07 19:29:57 +00:00
parent 39051a27a1
commit d136161650
2 changed files with 3 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ class Setting extends BaseModel {
static formatValue(key, value) {
const md = this.settingMetadata(key);
if (md.type == Setting.TYPE_INT) return Math.floor(Number(value));
if (md.type == Setting.TYPE_INT) return !value ? 0 : Math.floor(Number(value));
if (md.type == Setting.TYPE_BOOL) {
if (typeof value === 'string') {