Skip to content

Commit

Permalink
🛠 Refactor: Rename to RNIPresentationControllerMetrics
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Oct 7, 2024
1 parent 9a581eb commit 797b6a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// PresentationControllerMetrics.swift
// RNIPresentationControllerMetrics.swift
// react-native-ios-modal
//
// Created by Dominic Go on 9/27/24.
Expand All @@ -9,7 +9,7 @@ import UIKit
import DGSwiftUtilities


public struct PresentationControllerMetrics: DictionaryRepresentationSynthesizing {
public struct RNIPresentationControllerMetrics: DictionaryRepresentationSynthesizing {

public var instanceID: String;

Expand Down
2 changes: 1 addition & 1 deletion ios/Temp/UIPresentationController+Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit

extension UIPresentationController {

public var presentationControllerMetrics: PresentationControllerMetrics {
public var presentationControllerMetrics: RNIPresentationControllerMetrics {
.init(from: self);
};
};
2 changes: 1 addition & 1 deletion ios/Temp/UIViewController+ModalHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ extension UIViewController {
.init(viewController: self);
};

public var presentationControllerMetrics: PresentationControllerMetrics? {
public var presentationControllerMetrics: RNIPresentationControllerMetrics? {
self.presentationController?.presentationControllerMetrics;
};
};

0 comments on commit 797b6a3

Please sign in to comment.