1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-30 16:51:59 +03:00

Adapt to RxSwift 6.2

This commit is contained in:
Tae Won Ha 2021-06-18 08:55:23 +02:00
parent b059010f55
commit 52d2aac3e0
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ extension NvimView {
self.api
.input(keys: result, errWhenBlocked: false)
.subscribe(onError: { [weak self] error in
.subscribe(onFailure: { [weak self] error in
self?.log.error("Error in \(#function): \(error)")
})
.disposed(by: self.disposeBag)

View File

@ -621,7 +621,7 @@ extension NvimView {
.subscribe(onSuccess: { [weak self] in
self?.eventsSubject.onNext(.bufferWritten($0))
self?.updateTouchBarTab()
}, onError: { [weak self] error in
}, onFailure: { [weak self] error in
self?.bridgeLogger.error("Could not get the buffer \(handle): \(error)")
self?.eventsSubject.onNext(
.apiError(msg: "Could not get the buffer \(handle).", cause: error)