fix(home): 최근 소식 상세 이동을 연결한다
This commit is contained in:
@@ -564,7 +564,14 @@ class HomeMainFragment : BaseFragment<FragmentV2MainHomeBinding>(
|
||||
|
||||
private fun onFollowingScheduleClick(item: HomeFollowingScheduleUiItem) = Unit
|
||||
|
||||
private fun onFollowingNewsClick(item: HomeFollowingNewsUiItem) = Unit
|
||||
private fun onFollowingNewsClick(item: HomeFollowingNewsUiItem) {
|
||||
val community = item as? HomeFollowingNewsUiItem.Community ?: return
|
||||
val postId = community.postId
|
||||
if (postId <= 0L) return
|
||||
ensureMainV2NavigationAllowed {
|
||||
startActivity(CreatorChannelCommunityDetailActivity.newIntent(requireContext(), postId))
|
||||
}
|
||||
}
|
||||
|
||||
private fun openFollowingCreatorAll() {
|
||||
ensureMainV2NavigationAllowed {
|
||||
|
||||
Reference in New Issue
Block a user