From d558d2c4cca28fc3a80f309cfd166662c23bf00f Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Fri, 18 Jun 2021 08:53:40 +0200 Subject: [PATCH] Adapt to RxSwift 6.2 --- NvimView/Sources/NvimView/NvimView+Dragging.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NvimView/Sources/NvimView/NvimView+Dragging.swift b/NvimView/Sources/NvimView/NvimView+Dragging.swift index 6553d3c9..ca041f8d 100644 --- a/NvimView/Sources/NvimView/NvimView+Dragging.swift +++ b/NvimView/Sources/NvimView/NvimView+Dragging.swift @@ -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)