Skip to content

Commit

Permalink
💄 Gloss: Update Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 14, 2023
1 parent 12b5da8 commit 250f1d5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ios/src_library/React Native/RNIModalView/RNIModalView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,9 @@ extension RNIModalView: UIAdaptivePresentationControllerDelegate {
/// * 3 - `viewWillAppear`
/// * 4 - `viewDidAppear`
///
public func presentationControllerWillDismiss(_ presentationController: UIPresentationController) {
public func presentationControllerWillDismiss(
_ presentationController: UIPresentationController
) {
self.modalPresentationState.set(state: .DISMISSING_GESTURE);

#if DEBUG
Expand All @@ -673,7 +675,9 @@ extension RNIModalView: UIAdaptivePresentationControllerDelegate {
#endif
};

public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
public func presentationControllerDidDismiss(
_ presentationController: UIPresentationController
) {
self.modalPresentationNotificationDelegate
.notifyOnModalDidHide(sender: self);

Expand All @@ -690,7 +694,9 @@ extension RNIModalView: UIAdaptivePresentationControllerDelegate {
/// No other "view controller"-related lifecycle method was trigger in
/// response to this event being invoked.
///
public func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
public func presentationControllerDidAttemptToDismiss(
_ presentationController: UIPresentationController
) {
self.onModalAttemptDismiss?(
self.synthesizedBaseEventData.synthesizedJSDictionary
);
Expand Down

0 comments on commit 250f1d5

Please sign in to comment.