diff --git a/packages/app-mobile/root.tsx b/packages/app-mobile/root.tsx index a5b794558c..b090d733f0 100644 --- a/packages/app-mobile/root.tsx +++ b/packages/app-mobile/root.tsx @@ -498,6 +498,7 @@ async function initialize(dispatch: Function) { let locale = NativeModules.I18nManager.localeIdentifier; if (!locale) locale = defaultLocale(); Setting.setValue('locale', closestSupportedLocale(locale)); + Setting.setValue('sync.target', 0); Setting.setValue('firstStart', 0); } diff --git a/packages/lib/BaseApplication.ts b/packages/lib/BaseApplication.ts index ecd2eb47da..216a51ea7f 100644 --- a/packages/lib/BaseApplication.ts +++ b/packages/lib/BaseApplication.ts @@ -790,6 +790,7 @@ export default class BaseApplication { Setting.setValue('sync.interval', 3600); } + Setting.setValue('sync.target', 0); Setting.setValue('firstStart', 0); } else { setLocale(Setting.value('locale')); diff --git a/packages/lib/models/Setting.ts b/packages/lib/models/Setting.ts index a7d270203a..3fe91c65a5 100644 --- a/packages/lib/models/Setting.ts +++ b/packages/lib/models/Setting.ts @@ -319,7 +319,7 @@ class Setting extends BaseModel { }, 'sync.target': { - value: 0, + value: 7, // Dropbox type: SettingItemType.Int, isEnum: true, public: true,