diff --git a/ios/Temp/ModalSheetState.swift b/ios/Temp/ModalSheetState.swift index 7611f7fb..f0521a6a 100644 --- a/ios/Temp/ModalSheetState.swift +++ b/ios/Temp/ModalSheetState.swift @@ -96,6 +96,10 @@ public enum ModalSheetState: String { }; public func isGeneric(comparedTo otherState: Self) -> Bool { + guard self.isSameStep(comparedTo: otherState) else { + return false; + }; + switch(self, otherState){ case (.draggingViaGesture, let otherState) where otherState.isInPresentation: return false;