Skip to content

Commit

Permalink
🐞 Fix: RNIModalPresentationState
Browse files Browse the repository at this point in the history
Summary: Fix `RNIModalPresentationState.isInitialPresent` not resetting.
  • Loading branch information
dominicstop committed Apr 29, 2023
1 parent 3d4e9d9 commit e40604b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public struct RNIModalPresentationStateMachine {
} else if self.state == .DISMISSED {
// reset
self.wasCancelledDismissViaGesture = false;
self._isInitialPresent = false;
self._isInitialPresent = nil;
self._wasCancelledDismiss = false;
};
};
Expand Down

0 comments on commit e40604b

Please sign in to comment.