Autremove fixes

Failable postbox intializers for use in extensions
This commit is contained in:
Ali
2021-02-15 02:47:31 +04:00
parent af2e1cf5d4
commit bc5d79e8de
14 changed files with 170 additions and 83 deletions

View File

@@ -219,6 +219,8 @@ public func temporaryAccount(manager: AccountManager, rootPath: String, encrypti
switch result {
case .upgrading:
return .complete()
case .error:
return .complete()
case let .postbox(postbox):
return .single(TemporaryAccount(id: id, basePath: path, postbox: postbox))
}