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 {