Show current TOTP lock state (#80)

This commit is contained in:
hugo committed 2026-08-12 20:19:25 +02:00
1 parent b5571fcc5b
commit 1ce7b7814b
1 file changed
+1 -1
+1 -1
View File
@@ -2164,7 +2164,7 @@ private final class TotpListViewController: UITableViewController, MobileTabRoot
private func configureLockButton() {
let unlocked = (try? authentication?.state().unlocked) == true
navigationItem.rightBarButtonItem = UIBarButtonItem(
image: UIImage(systemName: unlocked ? "lock.fill" : "lock.open.fill"),
image: UIImage(systemName: unlocked ? "lock.open.fill" : "lock.fill"),
style: .plain,
target: self,
action: unlocked ? #selector(lockRequested) : #selector(unlockRequested)