From 40df2fdab3cfd753dc7263246515ca6d449e0321 Mon Sep 17 00:00:00 2001 From: tboba Date: Wed, 11 Oct 2023 18:07:41 +0200 Subject: [PATCH] Remove (RNSScreen *) leftover --- ios/RNSScreenStackHeaderConfig.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RNSScreenStackHeaderConfig.mm b/ios/RNSScreenStackHeaderConfig.mm index 09cc0b74ed..4fa7506285 100644 --- a/ios/RNSScreenStackHeaderConfig.mm +++ b/ios/RNSScreenStackHeaderConfig.mm @@ -149,7 +149,7 @@ - (void)updateViewControllerIfNeeded [RNSScreenStackHeaderConfig updateViewController:self.screenView.controller withConfig:self animated:YES]; // As the header might have change in `updateViewController` we need to ensure that header height // returned by the `onHeaderHeightChange` event is correct. - [(RNSScreen *)self.screenView.controller calculateAndNotifyHeaderHeightChangeIsModal:NO]; + [self.screenView.controller calculateAndNotifyHeaderHeightChangeIsModal:NO]; } }