fix syntax

This commit is contained in:
Mike Renoir 2023-06-20 14:44:54 +02:00
parent dbb6fe27b8
commit 78ed2459e1

View File

@ -194,7 +194,7 @@ final class PendingStoryManager {
guard let `self` = self else {
return
}
if let bag, let listBag = self.storyObserverContexts[stableId], listBag === bag {
if let bag = bag, let listBag = self.storyObserverContexts[stableId], listBag === bag {
bag.remove(index)
if bag.isEmpty {
self.storyObserverContexts.removeValue(forKey: stableId)