You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
All: Fix default sync target
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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'));
|
||||
|
||||
@@ -319,7 +319,7 @@ class Setting extends BaseModel {
|
||||
},
|
||||
|
||||
'sync.target': {
|
||||
value: 0,
|
||||
value: 7, // Dropbox
|
||||
type: SettingItemType.Int,
|
||||
isEnum: true,
|
||||
public: true,
|
||||
|
||||
Reference in New Issue
Block a user