mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
Bug Fix -iPad: export e2e keys failed, there pops no window up where to save the keys
#1733 Do not pass the frame of the view to present the document interaction controller. The given rect is supposed to be in the coordinates of the view.
This commit is contained in:
@@ -3499,7 +3499,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||
self->documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:keyExportsFile];
|
||||
[self->documentInteractionController setDelegate:self];
|
||||
|
||||
if ([self->documentInteractionController presentOptionsMenuFromRect:self.view.frame inView:self.view animated:YES])
|
||||
if ([self->documentInteractionController presentOptionsMenuFromRect:self.view.bounds inView:self.view animated:YES])
|
||||
{
|
||||
// We want to delete the temp keys file after it has been processed by the other app.
|
||||
// We use [UIDocumentInteractionControllerDelegate didEndSendingToApplication] for that
|
||||
|
||||
Reference in New Issue
Block a user