fix [聊天界面-未关注的用户无关注按钮]
This commit is contained in:
parent
7cf7c1e993
commit
434486387d
@ -256,7 +256,7 @@ public class IMLoginModel extends BaseModel {
|
|||||||
@SerializedName("guard_type")
|
@SerializedName("guard_type")
|
||||||
private String guardType = "";
|
private String guardType = "";
|
||||||
@SerializedName("isAttention")
|
@SerializedName("isAttention")
|
||||||
private int attention;
|
private int attention;//1被关注 2已关注 3互关 0没关系
|
||||||
@SerializedName("type")
|
@SerializedName("type")
|
||||||
private String type;
|
private String type;
|
||||||
|
|
||||||
|
@ -284,7 +284,7 @@ public class PDLiveConversationActivity extends AbsActivity implements View.OnCl
|
|||||||
}
|
}
|
||||||
showBanner();
|
showBanner();
|
||||||
showTag();
|
showTag();
|
||||||
if (data.getUser().getAttention() == 0) {
|
if (data.getUser().getAttention() <= 1) {
|
||||||
ViewUtils.findViewById(card, R.id.follow, Button.class).setOnClickListener(new View.OnClickListener() {
|
ViewUtils.findViewById(card, R.id.follow, Button.class).setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
|
Loading…
Reference in New Issue
Block a user