fix: bug when saving after canceling the save action (#2568)

Co-authored-by: vkamn <vk@amnezia.org>
This commit is contained in:
yp
2026-05-15 09:57:44 +03:00
committed by GitHub
parent d0a1af0381
commit cb48667b91
10 changed files with 60 additions and 23 deletions
+3 -1
View File
@@ -977,7 +977,9 @@ bool IosController::shareText(const QStringList& filesToSend) {
}
#if !MACOS_NE
UIViewController *qtController = getViewController();
if (!qtController) return;
if (!qtController) {
return false;
}
UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:sharingItems applicationActivities:nil];
#endif