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 59b7e93ae7..15230453e2 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 @@ -377,14 +377,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 {