You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Mobile: Support accepting Joplin Cloud shares (#10300)
This commit is contained in:
@ -66,6 +66,7 @@ import initLib from '../initLib';
|
||||
import OcrDriverTesseract from '../services/ocr/drivers/OcrDriverTesseract';
|
||||
import OcrService from '../services/ocr/OcrService';
|
||||
import { createWorker } from 'tesseract.js';
|
||||
import { reg } from '../registry';
|
||||
|
||||
// Each suite has its own separate data and temp directory so that multiple
|
||||
// suites can be run at the same time. suiteName is what is used to
|
||||
@ -379,6 +380,7 @@ async function setupDatabase(id: number = null, options: any = null) {
|
||||
await clearSettingFile(id);
|
||||
await loadKeychainServiceAndSettings(options.keychainEnabled ? KeychainServiceDriver : KeychainServiceDriverDummy);
|
||||
|
||||
reg.setDb(databases_[id]);
|
||||
Setting.setValue('sync.target', syncTargetId());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user