mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 20:33:07 +08:00
Fix for CB-549
This commit is contained in:
parent
1e5457a47d
commit
bcc2957f20
@ -233,7 +233,7 @@ public class Notification extends Plugin {
|
|||||||
|
|
||||||
// First button
|
// First button
|
||||||
if (fButtons.length > 0) {
|
if (fButtons.length > 0) {
|
||||||
dlg.setPositiveButton(fButtons[0],
|
dlg.setNegativeButton(fButtons[0],
|
||||||
new AlertDialog.OnClickListener() {
|
new AlertDialog.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
dialog.dismiss();
|
dialog.dismiss();
|
||||||
@ -255,7 +255,7 @@ public class Notification extends Plugin {
|
|||||||
|
|
||||||
// Third button
|
// Third button
|
||||||
if (fButtons.length > 2) {
|
if (fButtons.length > 2) {
|
||||||
dlg.setNegativeButton(fButtons[2],
|
dlg.setPositiveButton(fButtons[2],
|
||||||
new AlertDialog.OnClickListener() {
|
new AlertDialog.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
dialog.dismiss();
|
dialog.dismiss();
|
||||||
|
Loading…
Reference in New Issue
Block a user