BlockchainCommons / BlockchainCommons/GordianQRTool-iOS

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

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
5
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.