Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Akamu
Game Client iOS
Commits
1c84f8e1
Commit
1c84f8e1
authored
Jul 19, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Akamu_iOS/Sources/ViewLayer/ViewControllers/FindOpponentViewController.swift
View file @
1c84f8e1
...
...
@@ -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"
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment