Avoid updating AccountDisplayNameLabel when emojis pref hasn't changed
Oops
This commit is contained in:
parent
007937d2d7
commit
d4057adf4d
|
@ -16,7 +16,7 @@ class AccountDisplayNameLabel: EmojiLabel {
|
|||
private var accountDisplayName: String?
|
||||
|
||||
func updateForAccountDisplayName(account: some AccountProtocol) {
|
||||
guard accountID != account.id || accountDisplayName != account.displayName || Preferences.shared.hideCustomEmojiInUsernames == hasEmojis else {
|
||||
guard accountID != account.id || accountDisplayName != account.displayName || Preferences.shared.hideCustomEmojiInUsernames != hasEmojis else {
|
||||
return
|
||||
}
|
||||
accountID = account.id
|
||||
|
|
Loading…
Reference in New Issue