【光环助手V5.5.0】游戏单-个人主页(1201测试:5)https://git.ghzs.com/pm/halo-app-issues/-/issues/1591#note_126169
This commit is contained in:
@ -233,7 +233,11 @@ class GamesCollectionAdapter(
|
||||
}
|
||||
|
||||
private fun showOptionPopupWindow(view: View, entity: GamesCollectionEntity) {
|
||||
val contentList = arrayListOf("编辑", "投稿", "删除")
|
||||
val contentList = if (entity.display == "self_only") {
|
||||
arrayListOf("编辑", "投稿", "删除")
|
||||
} else {
|
||||
arrayListOf("编辑", "删除")
|
||||
}
|
||||
|
||||
val inflater = LayoutInflater.from(mContext)
|
||||
val layout = inflater.inflate(R.layout.layout_popup_container, null)
|
||||
|
||||
Reference in New Issue
Block a user