fix: 메인 홈 - 인기 크리에이터

- 팔로우/팔로잉 배경색 변경
This commit is contained in:
2025-07-21 19:52:23 +09:00
parent cfe9d3ab11
commit 9be1b86c5d
5 changed files with 35 additions and 8 deletions

View File

@@ -407,7 +407,14 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
recyclerView.adapter = adapter
viewModel.latestFinishedLiveListLiveData.observe(viewLifecycleOwner) {
adapter.addItems(it)
if (it.isNotEmpty()) {
adapter.addItems(it)
binding.llLatestFinishedLiveChannel.visibility = View.VISIBLE
binding.rvLatestFinishedLiveChannel.visibility = View.VISIBLE
} else {
binding.llLatestFinishedLiveChannel.visibility = View.GONE
binding.rvLatestFinishedLiveChannel.visibility = View.GONE
}
}
}