Skip to content

Commit

Permalink
⭐️ Impl: wasDismissViaGestureCancelled
Browse files Browse the repository at this point in the history
Summary: Impl. `RNIModalPresentationStateMachine.wasDismissViaGestureCancelled`.
  • Loading branch information
dominicstop committed Apr 6, 2023
1 parent e97c9d1 commit c36f211
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ public struct RNIModalPresentationStateMachine {
var onDismissWillCancel: (() -> Void)?;
var onDismissDidCancel: (() -> Void)?;

// MARK: - Computed Properties
// ---------------------------

var wasDismissViaGestureCancelled: Bool {
self.statePrev.isDismissViaGestureCancelling
};

// MARK: - Functions
// -----------------

Expand Down

0 comments on commit c36f211

Please sign in to comment.