举报动态自己也不能举报自己
This commit is contained in:
parent
71e3be10d0
commit
e192b2f6c7
@ -208,7 +208,9 @@ public class CommunityDetailsActivity extends AbsActivity {
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
SparseArray<String> array = new SparseArray<>();
|
SparseArray<String> array = new SparseArray<>();
|
||||||
|
if (!activeBean.getUser_id().equals(CommonAppConfig.getInstance().getUid())){
|
||||||
array.append(0, getResources().getString(R.string.report));
|
array.append(0, getResources().getString(R.string.report));
|
||||||
|
}
|
||||||
array.append(1, getResources().getString(R.string.not_interested));
|
array.append(1, getResources().getString(R.string.not_interested));
|
||||||
DialogUitl.showStringArrayDialog(CommunityDetailsActivity.this, array, new DialogUitl.StringArrayDialogCallback() {
|
DialogUitl.showStringArrayDialog(CommunityDetailsActivity.this, array, new DialogUitl.StringArrayDialogCallback() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user