mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +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() {
|
override func viewWillLayoutSubviews() {
|
||||||
super.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