1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-27 14:14:19 +03:00

Adapt to RxSwift 6.2

This commit is contained in:
Tae Won Ha 2021-06-18 08:53:40 +02:00
parent a793be2f53
commit d558d2c4cc
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -21,7 +21,7 @@ public extension NvimView {
.readObjects(forClasses: [NSURL.self]) as? [URL] else { return false }
self.open(urls: urls)
.subscribeOn(self.scheduler)
.subscribe(on: self.scheduler)
.subscribe(onError: { [weak self] error in
self?.eventsSubject.onNext(
.apiError(msg: "\(urls) could not be opened.", cause: error)