diff --git a/ownCloud/Viewer/DisplayHostViewController.swift b/ownCloud/Viewer/DisplayHostViewController.swift index 1a81548f4..c9064a381 100644 --- a/ownCloud/Viewer/DisplayHostViewController.swift +++ b/ownCloud/Viewer/DisplayHostViewController.swift @@ -112,7 +112,7 @@ class DisplayHostViewController: UIViewController { let preferedExtension: OCExtension = matchedExtensions[0].extension - let extensionObject = preferedExtension.provideObject(for: context) + let extensionObject = preferedExtension.provideObject(for: context) guard let controllerType = extensionObject as? (DisplayViewController & DisplayExtension) else { return DisplayViewController()