From 2ff7b3c36db9c216b3a525e95ab20654883655b4 Mon Sep 17 00:00:00 2001 From: Dominic Go Date: Mon, 7 Oct 2024 08:51:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Refactor:=20Rename=20to=20`RNIMo?= =?UTF-8?q?dalViewControllerMetrics`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ollerMetrics.swift => RNIModalViewControllerMetrics.swift} | 4 ++-- ios/Temp/UIViewController+ModalHelpers.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename ios/Temp/{ModalViewControllerMetrics.swift => RNIModalViewControllerMetrics.swift} (94%) 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); };