Skip to content

Commit

Permalink
supports ios 15
Browse files Browse the repository at this point in the history
  • Loading branch information
Lessica committed Mar 11, 2023
1 parent 78c53c5 commit 173a3ef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TARGET = iphone:clang:latest:13.0
ARCHS = arm64 arm64e
INSTALL_TARGET_PROCESSES = SpringBoard

include $(THEOS)/makefiles/common.mk
Expand Down
6 changes: 5 additions & 1 deletion Tweak.x
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#import <UIKit/UIKit.h>

@interface UIActivityContentViewController
- (void) updateContentWithPeopleProxies:(id)arg1 shareProxies:(id)arg2 actionProxies:(id)arg3 activitiesByUUID:(id)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6;
@end
Expand All @@ -17,10 +19,12 @@


%hook UIActivityContentViewController

- (void) updateContentWithPeopleProxies:(NSArray*)arg1 shareProxies:(NSArray*)arg2 actionProxies:(NSArray*)arg3 activitiesByUUID:(NSMutableDictionary*)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6 {
%orig([NSMutableArray new], arg2, arg3, arg4, arg5, arg6);
}
- (void) updateContentWithPeopleProxies:(NSArray*)arg1 shareProxies:(NSArray*)arg2 actionProxies:(NSArray*)arg3 activitiesByUUID:(NSMutableDictionary*)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6 reloadData:(BOOL)arg7 {
%orig([NSMutableArray new], arg2, arg3, arg4, arg5, arg6, arg7);
}
%end

%hook _UIActivityUserDefaultsViewController
Expand Down
4 changes: 2 additions & 2 deletions control
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Package: com.devvix.nocshare
Name: NoCShare
Depends: mobilesubstrate
Version: 1.1.1
Version: 1.1.2
Architecture: iphoneos-arm
Description: Remove annoying airdrop and contacts from share menu.
Maintainer: Devvix
Author: Devvix
Section: Tweaks
Icon: https://repo.devvix.com/assets/TweakIcons/nocshareicon.jpg
Depiction: https://repo.devvix.com/depictions/?p=com.devvix.nocshare
SileoDepiction: https://repo.devvix.com/sileodepictions/com.devvix.nocshare/depiction.json
SileoDepiction: https://repo.devvix.com/sileodepictions/com.devvix.nocshare/depiction.json

0 comments on commit 173a3ef

Please sign in to comment.