Commit 1c84f8e1 authored by Maurice Kraus's avatar Maurice Kraus
Browse files

fix(viewlayer): this adds did begin editing back in

parent f25af947
Pipeline #1896 passed with stages
in 28 minutes and 33 seconds
......@@ -9,11 +9,11 @@
import AkamuCore
import AkamuLocalization
import AkamuUIKit
import Logger
import RxCocoa
import RxDataSources
import RxSwift
import UIKit
import Logger
class FindOpponentViewController: NiblessViewController {
private let disposeBag: DisposeBag
......@@ -42,7 +42,6 @@ class FindOpponentViewController: NiblessViewController {
logger.event("User visited \(String(describing: FindOpponentViewController.self))")
viewModel.onRefresh.execute()
}
override func viewDidDisappear(_ animated: Bool) {
super.viewDidAppear(animated)
......@@ -85,13 +84,13 @@ class FindOpponentViewController: NiblessViewController {
.distinctUntilChanged()
.bind(to: viewModel.onSearchText).disposed(by: disposeBag)
//navigationItem.searchController?.searchBar.rx.textDidBeginEditing
/* .asSignal(onErrorJustReturn: ())
navigationItem.searchController?.searchBar.rx.textDidBeginEditing
.asSignal(onErrorJustReturn: ())
.emit(onNext: { [weak self] in
self?.viewModel.onRefresh.execute()
}).disposed(by: disposeBag)*/
}).disposed(by: disposeBag)
}
deinit {
logger.debug("FindOpponentViewController deinit")
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment