Fixed bug that caused the photos app to crash when selecting more then 1 photo
This commit is contained in:
		
							
								
								
									
										5
									
								
								Tweak.x
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Tweak.x
									
									
									
									
									
								
							@ -1,5 +1,4 @@
 | 
				
			|||||||
@interface UIActivityContentViewController
 | 
					@interface UIActivityContentViewController
 | 
				
			||||||
//- (void) setAirDropSlots:(NSArray*)arg1;
 | 
					 | 
				
			||||||
- (void) updateContentWithPeopleProxies:(id)arg1 shareProxies:(id)arg2 actionProxies:(id)arg3 activitiesByUUID:(id)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6;
 | 
					- (void) updateContentWithPeopleProxies:(id)arg1 shareProxies:(id)arg2 actionProxies:(id)arg3 activitiesByUUID:(id)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6;
 | 
				
			||||||
@end
 | 
					@end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -18,10 +17,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%hook UIActivityContentViewController
 | 
					%hook UIActivityContentViewController
 | 
				
			||||||
/*- (void) setAirDropSlots:(NSArray*)arg1 {
 | 
					 | 
				
			||||||
	NSLog(@"NOCSHARE - Prevented AirDropSlots!");
 | 
					 | 
				
			||||||
	//Do nothing
 | 
					 | 
				
			||||||
}*/
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
- (void) updateContentWithPeopleProxies:(NSArray*)arg1 shareProxies:(NSArray*)arg2 actionProxies:(NSArray*)arg3 activitiesByUUID:(NSMutableDictionary*)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6 {
 | 
					- (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);
 | 
						%orig([NSMutableArray new], arg2, arg3, arg4, arg5, arg6);
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								control
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								control
									
									
									
									
									
								
							@ -1,7 +1,7 @@
 | 
				
			|||||||
Package: com.devvix.nocshare
 | 
					Package: com.devvix.nocshare
 | 
				
			||||||
Name: NoCShare
 | 
					Name: NoCShare
 | 
				
			||||||
Depends: mobilesubstrate
 | 
					Depends: mobilesubstrate
 | 
				
			||||||
Version: 1.1.0
 | 
					Version: 1.1.1
 | 
				
			||||||
Architecture: iphoneos-arm
 | 
					Architecture: iphoneos-arm
 | 
				
			||||||
Description: Remove annoying airdrop and contacts from share menu.
 | 
					Description: Remove annoying airdrop and contacts from share menu.
 | 
				
			||||||
Maintainer: Devvix
 | 
					Maintainer: Devvix
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user