Skip to content

Commit

Permalink
💄 Gloss: Minor Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 5, 2023
1 parent 134f1e8 commit 457ee4a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions ios/src_library/React Native/RNIModalView/RNIModalView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import Foundation


class RNIModalView: UIView, RNIIdentifiable, RNIModalFocusNotifying,
RNIModalState, RNIModalPresentation {

Expand Down Expand Up @@ -43,14 +42,12 @@ class RNIModalView: UIView, RNIIdentifiable, RNIModalFocusNotifying,
var modalIndex: Int!;
var modalIndexPrev: Int!;


// MARK: - Properties - RNIModalState
// ----------------------------------

var isModalPresented: Bool = false;
var isModalInFocus: Bool = false;


// MARK: - Properties - RNIModalPresentation
// -----------------------------------------

Expand Down Expand Up @@ -456,7 +453,6 @@ class RNIModalView: UIView, RNIIdentifiable, RNIModalFocusNotifying,
switch self.synthesizedModalPresentationStyle {
case .overFullScreen,
.fullScreen:
// no-op
break;

default:
Expand Down Expand Up @@ -681,7 +677,8 @@ extension RNIModalView: UIAdaptivePresentationControllerDelegate {

#if DEBUG
print(
"Log - RNIModalView.presentationControllerWillDismiss"
"Log - RNIModalView+UIAdaptivePresentationControllerDelegate"
+ " - RNIModalView.presentationControllerWillDismiss"
+ " - self.modalNativeID: \(self.modalNativeID)"
+ " - self.modalIndex: \(self.modalIndex!)"
);
Expand All @@ -703,7 +700,8 @@ extension RNIModalView: UIAdaptivePresentationControllerDelegate {

#if DEBUG
print(
"Log - RNIModalView.presentationControllerDidDismiss"
"Log - RNIModalView+UIAdaptivePresentationControllerDelegate"
+ " - RNIModalView.presentationControllerDidDismiss"
+ " - self.modalNativeID: \(self.modalNativeID)"
);
#endif
Expand All @@ -716,7 +714,8 @@ extension RNIModalView: UIAdaptivePresentationControllerDelegate {

#if DEBUG
print(
"Log - RNIModalView.presentationControllerDidAttemptToDismiss"
"Log - RNIModalView+UIAdaptivePresentationControllerDelegate"
+ " - RNIModalView.presentationControllerDidAttemptToDismiss"
+ " - self.modalNativeID: \(self.modalNativeID)"
+ " - self.modalIndex: \(self.modalIndex!)"
);
Expand Down

0 comments on commit 457ee4a

Please sign in to comment.