diff --git a/ios/Temp/ModalViewControllerMetrics.swift b/ios/Temp/RNIModalViewControllerMetrics.swift similarity index 94% rename from ios/Temp/ModalViewControllerMetrics.swift rename to ios/Temp/RNIModalViewControllerMetrics.swift index 46d11162..8f8dd070 100644 --- a/ios/Temp/ModalViewControllerMetrics.swift +++ b/ios/Temp/RNIModalViewControllerMetrics.swift @@ -1,5 +1,5 @@ // -// ModalViewControllerMetrics.swift +// RNIModalViewControllerMetrics.swift // react-native-ios-modal // // Created by Dominic Go on 9/27/24. @@ -9,7 +9,7 @@ import Foundation import DGSwiftUtilities -public struct ModalViewControllerMetrics: DictionaryRepresentationSynthesizing { +public struct RNIModalViewControllerMetrics: DictionaryRepresentationSynthesizing { public var instanceID: String; diff --git a/ios/Temp/UIViewController+ModalHelpers.swift b/ios/Temp/UIViewController+ModalHelpers.swift index bf65646c..1910d27b 100644 --- a/ios/Temp/UIViewController+ModalHelpers.swift +++ b/ios/Temp/UIViewController+ModalHelpers.swift @@ -142,7 +142,7 @@ extension UIViewController { return window.currentModalLevel; }; - public var modalMetrics: ModalViewControllerMetrics { + public var modalMetrics: RNIModalViewControllerMetrics { .init(viewController: self); };