diff --git a/iOS/FBNotifications/FBNotifications/Internal/Utilities/FBNCardViewUtilities.h b/iOS/FBNotifications/FBNotifications/Internal/Utilities/FBNCardViewUtilities.h index 14a0806..386ac76 100644 --- a/iOS/FBNotifications/FBNotifications/Internal/Utilities/FBNCardViewUtilities.h +++ b/iOS/FBNotifications/FBNotifications/Internal/Utilities/FBNCardViewUtilities.h @@ -54,6 +54,6 @@ extern CGFloat FBNFloatAdjustToScreenScale(CGFloat value, NSRoundingMode roundin #pragma mark - Top Most View Controller ///-------------------------------------- -extern UIViewController *_Nullable FBNApplicationTopMostViewController(); +extern UIViewController *_Nullable FBNApplicationTopMostViewController(void); NS_ASSUME_NONNULL_END diff --git a/iOS/FBNotifications/FBNotifications/Internal/Utilities/FBNCardViewUtilities.m b/iOS/FBNotifications/FBNotifications/Internal/Utilities/FBNCardViewUtilities.m index a86013d..c8e097b 100644 --- a/iOS/FBNotifications/FBNotifications/Internal/Utilities/FBNCardViewUtilities.m +++ b/iOS/FBNotifications/FBNotifications/Internal/Utilities/FBNCardViewUtilities.m @@ -118,7 +118,7 @@ CGFloat FBNFloatAdjustToScreenScale(CGFloat value, NSRoundingMode roundingMode) return value; } -UIViewController *_Nullable FBNApplicationTopMostViewController() { +UIViewController *_Nullable FBNApplicationTopMostViewController(void) { UIWindow *keyWindow = [UIApplication sharedApplication].keyWindow; UIViewController *viewController = keyWindow.rootViewController; while (viewController.presentedViewController && !viewController.presentedViewController.isBeingDismissed) {