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

Incorrect Message if User is Not Authed and Has Empty QR List #74

Open
shannona opened this issue Jul 13, 2021 · 0 comments
Open

Incorrect Message if User is Not Authed and Has Empty QR List #74

shannona opened this issue Jul 13, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@shannona
Copy link
Contributor

If the user is not authed and there's nothing in their QR list, they see the "Paste or Scan" message, rather than the "Tap to Authenticate".

It's these lines that are the problem:

                if let encryptedData = encryptedData, !encryptedData.isEmpty {
                    emptyCell.textLabel?.text = "Authenticate to access your data."
                } else {

The "if" doesn't quite test for authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant