mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-10 17:47:19 +00:00
Changed key name to user name
This commit is contained in:
parent
eeb6387839
commit
5b6e6dd3f3
@ -24,10 +24,10 @@ struct SecretDetailView<SecretType: Secret>: View {
|
||||
.frame(minHeight: 200, maxHeight: .infinity)
|
||||
}
|
||||
|
||||
var dashedKeyName: String {
|
||||
secret.name.replacingOccurrences(of: " ", with: "-")
|
||||
var dashedUserName: String {
|
||||
NSUserName().replacingOccurrences(of: " ", with: "-")
|
||||
}
|
||||
|
||||
|
||||
var dashedHostName: String {
|
||||
["secretive", Host.current().localizedName, "local"]
|
||||
.compactMap { $0 }
|
||||
|
Loading…
Reference in New Issue
Block a user