shiv19 / nativescript-cfalert-dialog

CFAlertDialog Wrapper for NativeScript
Apache License 2.0
42 stars 21 forks source link

textColor and backgroundColor of button is not set up for Android #3

Closed HoangJK closed 6 years ago

HoangJK commented 6 years ago

Please apply textColor and backgroundColor of button for Android. if (options.buttons) { var _loop_1 = function (i) { var button = options.buttons[i] builder.addButton(button.text, -1, -1, actionStyles[button.buttonStyle], alignment[button.buttonAlignment], new android.content.DialogInterface.OnClickListener({ onClick: function (dialog, which) { button.onClick(button.text) dialog.dismiss() } })) } for (var i = 0; i < options.buttons.length; i++) { _loop_1(i) } }

edorozco commented 6 years ago

Hey dude, I have the same problem, this code solved this issue ?

tempurai commented 6 years ago

I have same problem

alexandruantonica commented 6 years ago

I have the same problem.

shiv19 commented 6 years ago

Problem solved and published as Plugin version 1.0.9 😄 @HoangJK Thank you for reporting this. Sorry for the delay.