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:
parent
a793be2f53
commit
d558d2c4cc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user