1
0
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:
Henry Heino
2024-04-15 10:17:34 -07:00
committed by GitHub
parent 86d9f7e1cb
commit ff86c253d3
24 changed files with 668 additions and 52 deletions

View File

@ -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());
}