From 0b5528d1c5022cf8c7bdf5e4ba081894e9336a6e Mon Sep 17 00:00:00 2001 From: Stanislas Date: Mon, 24 Feb 2025 17:19:55 +0100 Subject: [PATCH] Fix authentication check to use identifier instead of userID (#1414) --- Mastodon/Scene/Account/AccountListViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/Scene/Account/AccountListViewModel.swift b/Mastodon/Scene/Account/AccountListViewModel.swift index 6943ad489..1e191ed99 100644 --- a/Mastodon/Scene/Account/AccountListViewModel.swift +++ b/Mastodon/Scene/Account/AccountListViewModel.swift @@ -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 {