Quellcode durchsuchen

Fix `NCViewerQuickLook` log view missing done button

- no custom done button due to #1926
- therefore should not be embedded in NavContoller. present directly, uses the default done button provided by the system

Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
Henrik Storch vor 3 Jahren
Ursprung
Commit
1a21b0a3dc
1 geänderte Dateien mit 1 neuen und 4 gelöschten Zeilen
  1. 1 4
      iOSClient/Settings/CCAdvanced.m

+ 1 - 4
iOSClient/Settings/CCAdvanced.m

@@ -174,10 +174,7 @@
                     
             [self deselectFormRow:sender];
             NCViewerQuickLook *viewerQuickLook = [[NCViewerQuickLook alloc] initWith:[NSURL fileURLWithPath:NCCommunicationCommon.shared.filenamePathLog] isEditingEnabled:false metadata:nil];
-            UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:viewerQuickLook];
-            navigationController.modalPresentationStyle = UIModalPresentationFullScreen;
-            
-            [self presentViewController:navigationController animated:YES completion:nil];
+            [self presentViewController:viewerQuickLook animated:YES completion:nil];
         };
         [section addFormRow:row];