Crypto iOS

This commit is contained in:
vtretyakov
2019-01-25 11:16:56 +07:00
parent d499269940
commit 7064454507
10 changed files with 47 additions and 33 deletions

View File

@@ -78,10 +78,8 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
widgetList.add(getValueWithDescription(StringsLocalization.reward(), loyalty));
}
if (bonus.length > 0) {
if (app == 'crypto') {
widgetList.add(getValueWithDescription(StringsLocalization.joys(), bonus));
} else {
if (app != 'crypto') {
if (bonus.length > 0) {
widgetList.add(getValueWithDescription(StringsLocalization.bonus(), bonus));
}
}
@@ -89,7 +87,7 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
widgetList.add(getHintLabel());
widgetList.add(getInputField()); // Нельзя добавить еще одно поле таким же способом
if (app != 'autobonus') {
if ((app != 'autobonus') || (app != 'crypto')) {
if (this.loyalityType == 'bonus') {
widgetList.add(getBonusInputField());