2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Fix authentication check to use identifier instead of userID (#1414)

This commit is contained in:
Stanislas 2025-02-24 17:19:55 +01:00 committed by GitHub
parent 40f909be85
commit 0b5528d1c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ extension AccountListViewModel {
cell.badgeButton.setBadge(number: count)
// checkmark
let isActive = activeAuthentication.userID == authentication.userID
let isActive = activeAuthentication.identifier == authentication.identifier
cell.tintColor = .label
cell.checkmarkImageView.isHidden = !isActive
if isActive {