sweet-alert-dialog icon indicating copy to clipboard operation
sweet-alert-dialog copied to clipboard

Why the button colors changed like primary color?

Open muklasr opened this issue 3 years ago • 3 comments

muklasr avatar Sep 10 '21 18:09 muklasr

Yea, I have same question

pamungkasandono avatar Feb 05 '22 17:02 pamungkasandono

  • 1 here In theory it should:
confirm.setConfirmButtonBackgroundColor(R.color.red);

but it only set a gray color as background it doesn't matter what color you've set. other ways like:

sDialog.setConfirmButtonBackgroundColor(Color.parseColor("#fffc3061"));

or

sDialog.setConfirmButtonBackgroundColor(ContextCompat.getColor(context,R.color.colorPrimary));

it doesn't work also.

Any thoughts @F0RIS ? Regards.

eriknyk avatar Mar 09 '22 00:03 eriknyk

@eriknyk Idk, having no time to find the reason, busy with war

F0RIS avatar Mar 10 '22 19:03 F0RIS