mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
All: Fix default sync target
This commit is contained in:
parent
3a9867db33
commit
4b39d30255
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user