Changed key name to user name

This commit is contained in:
Alex Lavallee
2021-01-18 00:55:57 -08:00
parent eeb6387839
commit 5b6e6dd3f3

View File

@@ -24,8 +24,8 @@ struct SecretDetailView<SecretType: Secret>: View {
.frame(minHeight: 200, maxHeight: .infinity) .frame(minHeight: 200, maxHeight: .infinity)
} }
var dashedKeyName: String { var dashedUserName: String {
secret.name.replacingOccurrences(of: " ", with: "-") NSUserName().replacingOccurrences(of: " ", with: "-")
} }
var dashedHostName: String { var dashedHostName: String {