Skip to content

Commit 646d1b0

Browse files
committed
regression
1 parent 51609e0 commit 646d1b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/QRScanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ public void run() {
777777
this.cordova.getActivity().runOnUiThread(new Runnable() {
778778
@Override
779779
public void run() {
780-
ViewGroup parent = mBarcodeView.getParent();
780+
ViewGroup parent = (ViewGroup) mBarcodeView.getParent();
781781
if (parent != null) {
782782
parent.removeView(mBarcodeView);
783783
}

0 commit comments

Comments
 (0)