Skip to content

Commit

Permalink
Fix authentication check to use identifier instead of userID
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed Feb 22, 2025
1 parent 619bb27 commit c6676ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mastodon/Scene/Account/AccountListViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c6676ed

Please sign in to comment.