Skip to content

Commit

Permalink
🛠 Refactor: Move RNIModalIdentity.modalIndex
Browse files Browse the repository at this point in the history
Summary: Move `RNIModalIdentity.modalIndex` to `RNIModalState`.
  • Loading branch information
dominicstop committed Mar 30, 2023
1 parent 4e89ea7 commit b639bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/src_library/React Native/RNIModal/RNIModal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ public typealias RNIModal =
///
public protocol RNIModalIdentity: AnyObject {

var modalIndex: Int! { set get };

var modalIndexPrev: Int! { set get };

var modalNativeID: String! { set get };
Expand All @@ -50,6 +48,8 @@ public protocol RNIModalIdentity: AnyObject {
///
public protocol RNIModalState: AnyObject {

var modalIndex: Int! { set get };

var isModalPresented: Bool { set get };

var isModalInFocus: Bool { set get };
Expand Down

0 comments on commit b639bf9

Please sign in to comment.