Fix compile error.

This commit is contained in:
Doug
2021-07-27 17:15:43 +01:00
parent 75aa3337de
commit 7b52d9912f
@@ -2812,7 +2812,7 @@ TableViewSectionsDelegate>
}];
}
- (void)togglePushNotifications:(id)sender withNotificationSettings:(UNNotificationSettings * _Nonnull)settings
- (void)togglePushNotifications:(UISwitch *)sender withNotificationSettings:(UNNotificationSettings * _Nonnull)settings
{
// Check first whether the user allow notification from device settings
if (settings.authorizationStatus == UNAuthorizationStatusDenied)