diff --git a/ViewModels/Sources/ViewModels/View Models/RootViewModel.swift b/ViewModels/Sources/ViewModels/View Models/RootViewModel.swift index 4b2d9f9..d7c7a65 100644 --- a/ViewModels/Sources/ViewModels/View Models/RootViewModel.swift +++ b/ViewModels/Sources/ViewModels/View Models/RootViewModel.swift @@ -88,7 +88,9 @@ private extension RootViewModel { let identityPublisher = identityService.identityPublisher(immediate: immediate) .catch { [weak self] _ -> Empty in DispatchQueue.main.async { - self?.identitySelected(id: self?.mostRecentlyUsedIdentityId, immediate: false) + if self?.navigationViewModel?.identityContext.identity.id == id { + self?.identitySelected(id: self?.mostRecentlyUsedIdentityId, immediate: false) + } } return Empty()