프로필 수정 페이지 - sns, 소개, 태그 수정 UI 크리에이터만 보이도록 수정
This commit is contained in:
@@ -162,6 +162,16 @@ class ProfileUpdateActivity : BaseActivity<ActivityProfileUpdateBinding>(
|
||||
binding.etIntroduce.setText(it.introduce)
|
||||
|
||||
SharedPreferenceManager.nickname = it.nickname
|
||||
|
||||
if (SharedPreferenceManager.role == "CREATOR") {
|
||||
binding.llSns.visibility = View.VISIBLE
|
||||
binding.llIntroduce.visibility = View.VISIBLE
|
||||
binding.llSelectTagWrapper.visibility = View.VISIBLE
|
||||
} else {
|
||||
binding.llSns.visibility = View.GONE
|
||||
binding.llIntroduce.visibility = View.GONE
|
||||
binding.llSelectTagWrapper.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
|
||||
viewModel.toastLiveData.observe(this) {
|
||||
|
Reference in New Issue
Block a user