Skip to content

Commit

Permalink
fix: 검색 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhz committed Apr 16, 2024
1 parent f613620 commit 68f4a8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ class AlbumFragment: Fragment() {

private fun observeSearchText() {
viewModel.searchText.observe(viewLifecycleOwner) {
if (it.isNotEmpty()) return@observe
setAlbums()
}
}
Expand Down Expand Up @@ -181,6 +180,7 @@ class AlbumFragment: Fragment() {

private fun refresh() {
binding.swipeRefresh.setOnRefreshListener {
setAlbums()
viewModel.setSwipe(true)
}
}
Expand Down

0 comments on commit 68f4a8a

Please sign in to comment.