라이브 만들기 버튼 이미지에서 글자로 변경
This commit is contained in:
@@ -88,13 +88,13 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
|
||||
MemberRole.USER.name
|
||||
) == MemberRole.CREATOR.name
|
||||
) {
|
||||
binding.ivMakeRoom.visibility = View.VISIBLE
|
||||
binding.ivMakeRoom.setOnClickListener {
|
||||
binding.llMakeLive.visibility = View.VISIBLE
|
||||
binding.llMakeLive.setOnClickListener {
|
||||
val intent = Intent(requireContext(), LiveRoomCreateActivity::class.java)
|
||||
activityResultLauncher.launch(intent)
|
||||
}
|
||||
} else {
|
||||
binding.ivMakeRoom.visibility = View.GONE
|
||||
binding.llMakeLive.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -147,14 +147,14 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
|
||||
}
|
||||
}
|
||||
|
||||
binding.ivMakeRoom.visibility =
|
||||
binding.llMakeLive.visibility =
|
||||
if (SharedPreferenceManager.role == MemberRole.CREATOR.name) {
|
||||
View.VISIBLE
|
||||
} else {
|
||||
View.GONE
|
||||
}
|
||||
|
||||
binding.ivMakeRoom.setOnClickListener {
|
||||
binding.llMakeLive.setOnClickListener {
|
||||
val intent = Intent(requireContext(), LiveRoomCreateActivity::class.java)
|
||||
activityResultLauncher.launch(intent)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user