mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Hide share buttons + file name bar for media upload previews
This commit is contained in:
+5
-1
@@ -128,6 +128,10 @@ private class PreviewViewController: QLPreviewController {
|
||||
override func viewWillLayoutSubviews() {
|
||||
super.viewWillLayoutSubviews()
|
||||
|
||||
navigationItem.rightBarButtonItem = nil
|
||||
// Remove top file details bar
|
||||
navigationController?.navigationBar.isHidden = true
|
||||
|
||||
// Hide toolbar share button
|
||||
toolbarItems?.first?.isHidden = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user