fix: 메인 라이브 - 최근 종료한 라이브
- 비로그인 상태에서 터치시 로그인 페이지로 이동
This commit is contained in:
		@@ -355,6 +355,7 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    private fun setupLatestFinishedLiveChannel() {
 | 
					    private fun setupLatestFinishedLiveChannel() {
 | 
				
			||||||
        val adapter = LatestFinishedLiveAdapter {
 | 
					        val adapter = LatestFinishedLiveAdapter {
 | 
				
			||||||
 | 
					            if (SharedPreferenceManager.token.isNotBlank()) {
 | 
				
			||||||
                startActivity(
 | 
					                startActivity(
 | 
				
			||||||
                    Intent(
 | 
					                    Intent(
 | 
				
			||||||
                        requireContext(),
 | 
					                        requireContext(),
 | 
				
			||||||
@@ -363,6 +364,9 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
 | 
				
			|||||||
                        putExtra(Constants.EXTRA_USER_ID, it)
 | 
					                        putExtra(Constants.EXTRA_USER_ID, it)
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                )
 | 
					                )
 | 
				
			||||||
 | 
					            } else {
 | 
				
			||||||
 | 
					                (requireActivity() as MainActivity).showLoginActivity()
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        val recyclerView = binding.rvLatestFinishedLiveChannel
 | 
					        val recyclerView = binding.rvLatestFinishedLiveChannel
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user