Skip to content

Commit

Permalink
💄 Gloss: Update Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 6, 2023
1 parent 60c5411 commit 54e8f8e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion ios/src_library/React Native/RNIModal/RNIModalManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ import Foundation

public let RNIModalManagerShared = RNIModalManager.sharedInstance;

/// Note:2023-03-30-19-36-33
/// `Note:2023-04-07-03-22-48`
///
/// * Manually incrementing and decrementing the `modalIndex` is fragile.
///
/// * For example:
/// * 1 -If multiple blur/focus events were to fire consecutively, the
/// `modalIndex` might be wrong.
///
/// * 2 - If a modal presented/dismissed w/o notifying `RNIModalManager`,
/// the `modalIndex` will be stale.
///
/// `Note:2023-03-30-19-36-33` - Archived/Old
///
/// * This assumes that the app is using a single window, and all the modals are
/// being presented on that window, as a chain of view controllers.
Expand Down

0 comments on commit 54e8f8e

Please sign in to comment.