Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScannerCompatActivity: make scannerProviderStatusCard optional #219

Closed
DaSpood opened this issue Aug 8, 2024 · 0 comments
Closed

ScannerCompatActivity: make scannerProviderStatusCard optional #219

DaSpood opened this issue Aug 8, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@DaSpood
Copy link
Collaborator

DaSpood commented Aug 8, 2024

In resetProviderCardView() (called by initCamera()), crash if R.id.scannerProviderStatusCard does not exist. As it does not appear to be an essential UI element, add a null->return check to ensure this view is optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant