Skip redundant updates of current profile
This commit is contained in:
parent
ad1539023e
commit
8f4e4bc7c5
|
@ -320,6 +320,7 @@ extension ProfileManager {
|
|||
|
||||
currentProfile.$value
|
||||
.dropFirst()
|
||||
.removeDuplicates()
|
||||
.sink {
|
||||
self.willUpdateCurrentProfile($0)
|
||||
}.store(in: &cancellables)
|
||||
|
|
Loading…
Reference in New Issue