@scrumble-nl/react-native-honeywell-scanner 1.0.22 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -85,13 +85,15 @@ public class HoneywellScannerModule extends ReactContextBaseJavaModule implement
|
|
|
85
85
|
|
|
86
86
|
AlertDialog.Builder builder = new AlertDialog.Builder(reactContext);
|
|
87
87
|
builder.setTitle("Devices");
|
|
88
|
-
builder.setPositiveButton(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
builder.setPositiveButton(
|
|
89
|
+
"Yes",
|
|
90
|
+
new DialogInterface.OnClickListener() {
|
|
91
|
+
public void onClick(DialogInterface dialog, int id) {
|
|
92
|
+
dialog.cancel();
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
builder.setNegativeButton("No", new DialogInterface.OnClickListener() {
|
|
96
|
+
public void onClick(DialogInterface dialog, int id) {
|
|
95
97
|
dialog.cancel();
|
|
96
98
|
}
|
|
97
99
|
});
|
package/package.json
CHANGED