Support read-only databases

This commit is contained in:
Ali
2021-02-17 17:46:02 +04:00
parent 29c08a7019
commit 7b8eed29c3
13 changed files with 110 additions and 78 deletions

View File

@@ -202,7 +202,7 @@ public class ShareRootControllerImpl {
let internalContext: InternalContext
let accountManager = AccountManager(basePath: rootPath + "/accounts-metadata", isTemporary: true)
let accountManager = AccountManager(basePath: rootPath + "/accounts-metadata", isTemporary: true, isReadOnly: false)
if let globalInternalContext = globalInternalContext {
internalContext = globalInternalContext