NathanWalker / nativescript-fancyalert

Fancy alerts for NativeScript.
Other
147 stars 38 forks source link

cancelBtnTitle on TNSFancyAlert.showColorDialog it doesn't work properly #78

Open YouSour opened 5 years ago

YouSour commented 5 years ago

TNSFancyAlert.showColorDialog( "Warning", "Are you sure to delete this invoice ?", "Ok", "Cancel", "#F39C12" ).then(() => { });

//Screenshoot

Screen Shot 2019-08-02 at 9 34 01 AM

apopiidoru commented 4 years ago

I got the same problem, any updates ?

Rahul1d commented 4 years ago

Hi @YouSour , The problem is in Android lib ColorDialog. Here if you don't pass image, it will appear distorted. I have solved this issue.

I have solved this issue. So, you can refer to my repo. Go to node_modules/nativescript-fancyalert/platforms/android/include.gradle

Change to this: dependencies { compile 'com.github.Rahul1d:ColorDialog:1.1.0' }

rebuild your app. Your issue will be solved.

Cancel Button Algned