diff --git a/Sources/Secretive/Views/SecretListItemView.swift b/Sources/Secretive/Views/SecretListItemView.swift index 22c1f99..e70c47d 100644 --- a/Sources/Secretive/Views/SecretListItemView.swift +++ b/Sources/Secretive/Views/SecretListItemView.swift @@ -20,7 +20,15 @@ struct SecretListItemView: View { ) return NavigationLink(destination: SecretDetailView(secret: secret), tag: secret.id, selection: $activeSecret) { - Text(secret.name) + if secret.requiresAuthentication { + HStack { + Text(secret.name) + Spacer() + Image(systemName: "lock") + } + } else { + Text(secret.name) + } }.contextMenu { if store is AnySecretStoreModifiable { Button(action: { isRenaming = true }) {