This commit handles the situation when a user clicks on the scan button after denying the camera permissions to the app.
Previously, nothing was shown to the user when isGranted is false due to the above case: now, an alert dialog will ask the user to open the settings to grant the required permissions to VerificaC19.
This commit handles the situation when a user clicks on the scan button after denying the camera permissions to the app. Previously, nothing was shown to the user when
isGranted
is false due to the above case: now, an alert dialog will ask the user to open the settings to grant the required permissions to VerificaC19.