Fix warnings
This commit is contained in:
@@ -20,7 +20,7 @@ static void swizzleClassMethod(Class targetClass, SEL originalSelector, IMP repl
|
||||
}
|
||||
|
||||
__attribute__((constructor))
|
||||
static void swizzleMFMailComposeViewController()
|
||||
static void swizzleMFMailComposeViewController(void)
|
||||
{
|
||||
// Hacks to work around the fact that MFMailComposeViewController is broken in iOS 14+
|
||||
swizzleClassMethod(MFMailComposeViewController.class, @selector(canSendMail), imp_implementationWithBlock(^BOOL(void) {
|
||||
|
||||
Reference in New Issue
Block a user