diff --git a/main/src/main/java/com/yunbao/main/activity/CommunityDetailsActivity.java b/main/src/main/java/com/yunbao/main/activity/CommunityDetailsActivity.java index 35dea2738..1c8965cb7 100644 --- a/main/src/main/java/com/yunbao/main/activity/CommunityDetailsActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/CommunityDetailsActivity.java @@ -208,7 +208,9 @@ public class CommunityDetailsActivity extends AbsActivity { @Override public void onClick(View v) { SparseArray array = new SparseArray<>(); - array.append(0, getResources().getString(R.string.report)); + if (!activeBean.getUser_id().equals(CommonAppConfig.getInstance().getUid())){ + array.append(0, getResources().getString(R.string.report)); + } array.append(1, getResources().getString(R.string.not_interested)); DialogUitl.showStringArrayDialog(CommunityDetailsActivity.this, array, new DialogUitl.StringArrayDialogCallback() { @Override