Skip to content

Commit

Permalink
💫 Update: RNIModalData
Browse files Browse the repository at this point in the history
Related:
* `TODO:2023-03-04-13-15-11` - Refactor: Update Modal Events
* `TODO:2023-04-14-23-40-15` - Impl. Update `RNIModalData` - Add more modal-related data.
  • Loading branch information
dominicstop committed Apr 15, 2023
1 parent 1d7dd50 commit ce3c2a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/src_library/React Native/RNIModal/RNIModal+Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ extension RNIModalState where Self: RNIModal {
public var synthesizedModalData: RNIModalData {
return RNIModalData(
modalNativeID: self.modalNativeID,

modalIndex: self.modalIndex,
modalIndexPrev: self.modalIndexPrev,
currentModalIndex: self.currentModalIndex,

modalFocusState: self.modalFocusState.state,
Expand Down
1 change: 1 addition & 0 deletions ios/src_library/React Native/RNIModal/RNIModalData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public struct RNIModalData: RNIDictionarySynthesizable {
public let modalNativeID: String;

public let modalIndex: Int;
public let modalIndexPrev: Int;
public let currentModalIndex: Int;

public let modalFocusState: RNIModalFocusState;
Expand Down

0 comments on commit ce3c2a1

Please sign in to comment.