diff --git a/app/src/main/java/com/gh/gamecenter/collection/GamesCollectionAdapter.kt b/app/src/main/java/com/gh/gamecenter/collection/GamesCollectionAdapter.kt index 920c5add37..bdd8f7ebb9 100644 --- a/app/src/main/java/com/gh/gamecenter/collection/GamesCollectionAdapter.kt +++ b/app/src/main/java/com/gh/gamecenter/collection/GamesCollectionAdapter.kt @@ -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)