mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-18 05:22:11 +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)
|
.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 {
|
||||||
["secretive", Host.current().localizedName, "local"]
|
["secretive", Host.current().localizedName, "local"]
|
||||||
.compactMap { $0 }
|
.compactMap { $0 }
|
||||||
|
Loading…
Reference in New Issue
Block a user