Skip to content

Commit

Permalink
Fixed API testers
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Jun 13, 2023
1 parent 8f972f2 commit 72e9859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/APITesters/ObjCAPITester/ObjCAPITester/RCOtherAPI.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ @implementation RCOtherAPI
+ (void)checkAPI {
#if DEBUG
if (@available(iOS 16.0, *)) {
RCDebugViewController *controller = [RCDebugViewController new];
RCDebugViewController *controller __unused = [RCDebugViewController new];

[UIViewController.new rc_presentDebugRevenueCatOverlayAnimated:NO];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct AppView: View {

@available(iOS 16.0, macOS 13.0, tvOS 16.0, *)
func debugViewController() {
let controller = DebugViewController()
let _: UIViewController = DebugViewController()
UIViewController().presentDebugRevenueCatOverlay()
UIViewController().presentDebugRevenueCatOverlay(animated: false)
}
Expand Down

0 comments on commit 72e9859

Please sign in to comment.