move delay after filter

This commit is contained in:
Ivan Smolin 2017-05-02 14:35:53 +03:00
parent 29b3bb3215
commit e509f2d4a7
1 changed files with 1 additions and 1 deletions

View File

@ -291,8 +291,8 @@ where Delegate.Cursor == Cursor {
} else {
return applicationCurrentyActive
.asObservable()
.delay(0.5, scheduler: MainScheduler.instance)
.filter { $0 }
.delay(0.5, scheduler: MainScheduler.instance)
.asDriver(onErrorJustReturn: true)
.map { _ in state }
}