From bff10756e7d37167aa7f51e8081d03f1f2ec590d Mon Sep 17 00:00:00 2001 From: "aricloverGitHub (INACTIVE)" <78001398+arichornlover@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:28:54 -0600 Subject: [PATCH] Update uYouPlus.xm --- Sources/uYouPlus.xm | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 904ff49..e8f17e5 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -17,34 +17,6 @@ NSBundle *uYouPlusBundle() { NSBundle *tweakBundle = uYouPlusBundle(); // -// activities API -@import ActivityKit; - -@interface NoActivityAttributes : NSObject -@end - -@implementation NoActivityAttributes -@end - -NoActivityAttributes *attributes = [[NoActivityAttributes alloc] init]; -Activity *activity = [Activity > createActivityWithAttributes:attributes]; - -[activity startWithContent:[[ActivityContent alloc] init] completion:^(NSError * _Nullable error) { - if (error) { - NSLog(@"Failed to start Live Activity: %@", error); - } else { - NSLog(@"Live Activity started successfully"); - } -}]; - -[activity endWithCompletion:^(NSError * _Nullable error) { - if (error) { - NSLog(@"Failed to end Live Activity: %@", error); - } else { - NSLog(@"Live Activity ended successfully"); - } -}]; - // Notifications Tab appearance UIImage *resizeImage(UIImage *image, CGSize newSize) { UIGraphicsBeginImageContextWithOptions(newSize, NO, 0.0);