fix:修复背包礼物显示锁问题
This commit is contained in:
@@ -112,6 +112,9 @@ public class GiftInfoVm extends BaseItem<GiftInfo> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean getIsLocked() {
|
private boolean getIsLocked() {
|
||||||
|
if (isKnap.get()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
SimpleVipInfo vipInfo = data.getGiftVipInfo();
|
SimpleVipInfo vipInfo = data.getGiftVipInfo();
|
||||||
boolean isLocked = vipInfo != null && VipHelper.getMyVipLevel() < vipInfo.getVipLevel();
|
boolean isLocked = vipInfo != null && VipHelper.getMyVipLevel() < vipInfo.getVipLevel();
|
||||||
if (!isLocked) {
|
if (!isLocked) {
|
||||||
|
@@ -144,6 +144,7 @@
|
|||||||
android:id="@+id/tv_count"
|
android:id="@+id/tv_count"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/dp_4"
|
||||||
android:layout_marginStart="@dimen/dp_5"
|
android:layout_marginStart="@dimen/dp_5"
|
||||||
android:background="@drawable/shape_white_alpha_10_radius_100"
|
android:background="@drawable/shape_white_alpha_10_radius_100"
|
||||||
android:paddingStart="3dp"
|
android:paddingStart="3dp"
|
||||||
|
Reference in New Issue
Block a user