diff --git a/live/src/main/java/com/yunbao/live/views/GiftAlreadyWallFragment.java b/live/src/main/java/com/yunbao/live/views/GiftAlreadyWallFragment.java index 30d5205a0..01da0350a 100644 --- a/live/src/main/java/com/yunbao/live/views/GiftAlreadyWallFragment.java +++ b/live/src/main/java/com/yunbao/live/views/GiftAlreadyWallFragment.java @@ -45,7 +45,7 @@ public class GiftAlreadyWallFragment extends BaseFragment { mLiveUid = bundle.getString("mLiveUid"); toUid = bundle.getString("toUid"); isAnchor = bundle.getBoolean("isAnchor"); - isAnchor = bundle.getBoolean("SBW"); + sbWy = bundle.getBoolean("SBW"); } @Override @@ -65,7 +65,7 @@ public class GiftAlreadyWallFragment extends BaseFragment { } else { instantLight.setVisibility(View.GONE); } - if (!isAnchor) { + if (isAnchor) { unlitIconHint.setText(getContext().getString(R.string.unlit_icon_hint)); } else { unlitIconHint.setText(getContext().getString(R.string.unlit_icon_hint2)); @@ -85,7 +85,7 @@ public class GiftAlreadyWallFragment extends BaseFragment { @Override protected void loadData() { - if (!isAnchor) { + if (isAnchor) { LiveNetManager.get(getActivity()). giftAlreadyWall(mLiveUid, toUid, new HttpCallback() { @Override