Skip to content

Commit

Permalink
Scanner page closes after checking in for meeting now
Browse files Browse the repository at this point in the history
  • Loading branch information
leahlud committed Oct 19, 2023
1 parent ec162c1 commit a649eff
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ScannerFragment : Fragment() {
} else {
displayScanResult(it)
}
// codeScanner.startPreview()
codeScanner.startPreview()
},
)
roles.observe(
Expand Down Expand Up @@ -246,7 +246,9 @@ class ScannerFragment : Fragment() {
.setMessage(responseString)
.setNegativeButton("OK") { dialog, id ->
dialog.dismiss()
codeScanner.startPreview()
if (isMeetingAttendance) {
closeScannerPage()
}
}
alertDialog = builder.create()
}
Expand Down

0 comments on commit a649eff

Please sign in to comment.