Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #197 from otwarty-wykop-mobilny/fix_search
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Feb 14, 2022
2 parents d6de8d8 + 0b014d0 commit d49df52
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import io.github.wykopmobilny.utils.viewBinding
import io.reactivex.subjects.PublishSubject
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.runBlocking
import java.net.URLEncoder

class SearchFragment : BaseFragment(R.layout.activity_search) {

Expand Down Expand Up @@ -83,7 +82,7 @@ class SearchFragment : BaseFragment(R.layout.activity_search) {

callback()
searchView.clearFocus()
querySubject.onNext(URLEncoder.encode(query, "UTF-8"))
querySubject.onNext(query)
activity?.hideKeyboard()

return true
Expand Down

0 comments on commit d49df52

Please sign in to comment.