Fixed crashing issue when more or less then 1 photo is selected
This commit is contained in:
		
							
								
								
									
										10
									
								
								Tweak.x
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Tweak.x
									
									
									
									
									
								
							@ -1,5 +1,6 @@
 | 
				
			|||||||
@interface UIActivityContentViewController
 | 
					@interface UIActivityContentViewController
 | 
				
			||||||
- (void) setAirDropSlots:(NSArray*)arg1;
 | 
					//- (void) setAirDropSlots:(NSArray*)arg1;
 | 
				
			||||||
 | 
					- (void) updateContentWithPeopleProxies:(id)arg1 shareProxies:(id)arg2 actionProxies:(id)arg3 activitiesByUUID:(id)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6;
 | 
				
			||||||
@end
 | 
					@end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@interface _UIActivityUserDefaultsViewController
 | 
					@interface _UIActivityUserDefaultsViewController
 | 
				
			||||||
@ -17,8 +18,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%hook UIActivityContentViewController
 | 
					%hook UIActivityContentViewController
 | 
				
			||||||
- (void) setAirDropSlots:(NSArray*)arg1 {
 | 
					/*- (void) setAirDropSlots:(NSArray*)arg1 {
 | 
				
			||||||
 | 
						NSLog(@"NOCSHARE - Prevented AirDropSlots!");
 | 
				
			||||||
	//Do nothing
 | 
						//Do nothing
 | 
				
			||||||
 | 
					}*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- (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);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
%end
 | 
					%end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user