mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-02-08 23:48:48 +01:00
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…
x
Reference in New Issue
Block a user