Skip to content

Commit

Permalink
regression
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobg committed Feb 22, 2022
1 parent 51609e0 commit 646d1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/QRScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ public void run() {
this.cordova.getActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
ViewGroup parent = mBarcodeView.getParent();
ViewGroup parent = (ViewGroup) mBarcodeView.getParent();
if (parent != null) {
parent.removeView(mBarcodeView);
}
Expand Down

0 comments on commit 646d1b0

Please sign in to comment.