mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-25 15:00:28 +00:00
Remove duplicates of account publisher
This commit is contained in:
parent
a26acd0af1
commit
175bd9f78e
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ public struct ProfileService {
|
|||
if let account = account {
|
||||
accountPublisher = accountPublisher
|
||||
.merge(with: Just(account).setFailureType(to: Error.self))
|
||||
.removeDuplicates()
|
||||
.eraseToAnyPublisher()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue