Skip to content

Commit

Permalink
[Fix] #347 - 비로그인 시 조건문 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Guryss committed Nov 18, 2024
1 parent e3fb24f commit 9cc7513
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ extension SearchViewModel {
input.searhBarDidTap
.subscribe(onNext: { _ in
output.searchBarEnabled.accept(true)
if self.isLogined {
if !self.isLogined {
output.presentToInduceLoginView.accept(())
}
})
Expand All @@ -76,7 +76,7 @@ extension SearchViewModel {
input.induceButtonDidTap
.subscribe(onNext: { _ in
output.induceButtonEnabled.accept(true)
if self.isLogined {
if !self.isLogined {
output.presentToInduceLoginView.accept(())
}
})
Expand All @@ -85,7 +85,7 @@ extension SearchViewModel {
input.sosoPickCellSelected
.subscribe(onNext: { indexPath in
output.navigateToNovelDetailView.accept(indexPath)
if self.isLogined {
if !self.isLogined {
output.presentToInduceLoginView.accept(())
}
})
Expand Down

0 comments on commit 9cc7513

Please sign in to comment.