Clarify the difference between screen name and username (#769)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
This commit is contained in:
parent
9f9a03c54b
commit
6219f4c446
|
@ -11,7 +11,7 @@ public extension Account {
|
||||||
|
|
||||||
var safeDisplayName: String {
|
var safeDisplayName: String {
|
||||||
if displayName.isEmpty || displayName == "" {
|
if displayName.isEmpty || displayName == "" {
|
||||||
return username
|
return "@\(username)"
|
||||||
}
|
}
|
||||||
return displayName
|
return displayName
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue