Skip to content

Commit

Permalink
💄 Gloss: Add Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Mar 31, 2023
1 parent aea42d7 commit c1d8bd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ios/src_library/React Native/RNIModal/RNIModal+Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ extension RNIModalState where Self: RNIModalPresentation {
extension RNIModalState where Self: RNIModalPresentation {

/// Programmatically get the "modal index"
///
/// Note:2023-03-31-15-41-04
///
/// * This is based on the view controller hierarchy
/// * So parent/child view controller that aren't modals are also counted
///
var synthesizedModalIndex: Int {
let listPresentedVC =
RNIModalManager.getPresentedViewControllers(for: self.window);
Expand Down

0 comments on commit c1d8bd4

Please sign in to comment.