Panagiotis Triantafyllou

vouchers fix

...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library' ...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
2 2
3 ext { 3 ext {
4 PUBLISH_GROUP_ID = 'ly.warp' 4 PUBLISH_GROUP_ID = 'ly.warp'
5 - PUBLISH_VERSION = '4.5.5.4r8' 5 + PUBLISH_VERSION = '4.5.5.4r9'
6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk' 6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
7 } 7 }
8 8
......
...@@ -993,6 +993,8 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie ...@@ -993,6 +993,8 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
993 mSeparator.setVisibility(View.VISIBLE); 993 mSeparator.setVisibility(View.VISIBLE);
994 if (TextUtils.isEmpty(WarplyManagerHelper.getShowVouchersBanner())) 994 if (TextUtils.isEmpty(WarplyManagerHelper.getShowVouchersBanner()))
995 mLlVouchersSpinner.setVisibility(View.VISIBLE); 995 mLlVouchersSpinner.setVisibility(View.VISIBLE);
996 + if (!TextUtils.isEmpty(WarplyManagerHelper.getShowVouchersBanner()) && WarplyManagerHelper.getShowVouchersBanner().equals("null"))
997 + mLlVouchersSpinner.setVisibility(View.GONE);
996 if ((WarplyManagerHelper.getActiveDFYCoupons() != null && WarplyManagerHelper.getActiveDFYCoupons().size() == 0) 998 if ((WarplyManagerHelper.getActiveDFYCoupons() != null && WarplyManagerHelper.getActiveDFYCoupons().size() == 0)
997 && (WarplyManagerHelper.getMarketCouponsList() != null && WarplyManagerHelper.getMarketCouponsList().size() == 0) 999 && (WarplyManagerHelper.getMarketCouponsList() != null && WarplyManagerHelper.getMarketCouponsList().size() == 0)
998 && (WarplyManagerHelper.getCouponList() != null && WarplyManagerHelper.getCouponList().size() == 0)) { 1000 && (WarplyManagerHelper.getCouponList() != null && WarplyManagerHelper.getCouponList().size() == 0)) {
......