From 44028cb4c8470d32df37e613a094614374c8c1a5 Mon Sep 17 00:00:00 2001 From: Evgeny Sureev Date: Fri, 27 Jun 2025 16:57:18 +0300 Subject: [PATCH] fix: use top view controller instead of root --- .../ios/share_plus/Sources/share_plus/FPPSharePlusPlugin.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/share_plus/share_plus/ios/share_plus/Sources/share_plus/FPPSharePlusPlugin.m b/packages/share_plus/share_plus/ios/share_plus/Sources/share_plus/FPPSharePlusPlugin.m index 144b35dbb9..f19284034d 100644 --- a/packages/share_plus/share_plus/ios/share_plus/Sources/share_plus/FPPSharePlusPlugin.m +++ b/packages/share_plus/share_plus/ios/share_plus/Sources/share_plus/FPPSharePlusPlugin.m @@ -418,14 +418,14 @@ + (void)registerWithRegistrar:(NSObject *)registrar { withSubject:shareTitle withText:shareText excludedActivityTypes:excludedActivityTypes - withController:rootViewController + withController:topViewController atSource:originRect toResult:result]; } else if (shareText) { [self shareText:shareText subject:shareTitle excludedActivityTypes:excludedActivityTypes - withController:rootViewController + withController:topViewController atSource:originRect toResult:result]; } else {