mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Listing styles
This commit is contained in:
@@ -74,6 +74,10 @@ struct Account: Defaults.Serializable, Hashable, Identifiable {
|
||||
}
|
||||
|
||||
var description: String {
|
||||
guard !isPublic else {
|
||||
return name
|
||||
}
|
||||
|
||||
guard !name.isEmpty else {
|
||||
return shortUsername
|
||||
}
|
||||
|
Reference in New Issue
Block a user