asana fixes
This commit is contained in:
@@ -162,7 +162,7 @@ public class MainActivity extends BaseActivity {
|
||||
bottomNavigationView.setCurrentItem(1);
|
||||
}
|
||||
else {
|
||||
openProductsScreen(categoryList.get(2));
|
||||
openProductsScreen(categoryList.get(3));
|
||||
}
|
||||
}
|
||||
private void initBottomNavigationView(){
|
||||
|
||||
@@ -158,6 +158,13 @@ public class PaymentMethodFragment extends CreateOrderBaseFragment {
|
||||
}
|
||||
}
|
||||
|
||||
for(PaymentMethodModel paymentMethodModel : paymentMethodModels){
|
||||
if(paymentMethodModel.getPaymentMethodType() == PaymentMethodModel.PaymentMethodType.TWINT){
|
||||
paymentMethodModels.remove(paymentMethodModel);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// dummy //
|
||||
|
||||
@@ -56,7 +56,7 @@ public class AppButton extends LinearLayout {
|
||||
|
||||
private void setButtonAppearance(Context context){
|
||||
if(isEnabled){
|
||||
pizzalinkButton.setBackground(ContextCompat.getDrawable(context, R.drawable.background_button_enabled));
|
||||
pizzalinkButton.setBackground(ContextCompat.getDrawable(context, R.drawable.background_button_enabled_red));
|
||||
pizzalinkButton.setTextColor(ContextCompat.getColor(context, R.color.colorPrimary));
|
||||
}else {
|
||||
pizzalinkButton.setBackground(ContextCompat.getDrawable(context, R.drawable.background_button_disabled));
|
||||
|
||||
@@ -58,7 +58,7 @@ public class AppEditText extends LinearLayout implements View.OnClickListener {
|
||||
TypedArray a = context.getTheme().obtainStyledAttributes(attrs, R.styleable.AppEditText, 0, 0);
|
||||
try {
|
||||
hint = a.getString(R.styleable.AppEditText_hint);
|
||||
characterCount = a.getInt(R.styleable.AppEditText_characterCount, 5-1);
|
||||
characterCount = a.getInt(R.styleable.AppEditText_characterCount, -1);
|
||||
inputType = a.getString(R.styleable.AppEditText_inputType);
|
||||
edittextTheme = a.getString(R.styleable.AppEditText_edittextTheme);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user