Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Fix camera not closing
Browse files Browse the repository at this point in the history
  • Loading branch information
greenart7c3 committed Jul 31, 2024
1 parent e20fef4 commit 1df99d1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ fun SendScreen(

DisposableEffect(Unit) {
onDispose {
scanView?.pause()
viewModel.clear()
}
}
Expand Down

0 comments on commit 1df99d1

Please sign in to comment.