forked from mirrors/linphone-iphone
Fix pdf viewer in VFS mode
This commit is contained in:
parent
b320ff61fe
commit
baabde7e20
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class MediaViewer: BackNextNavigationView, UICompositeViewDelegate, UIScrollVie
|
|||
setUpImageView()
|
||||
} else if contentType == "video" {
|
||||
setUpPlayerContainerView()
|
||||
} else if contentType == "file" {
|
||||
} else if contentType == "file" || contentType == "application"{
|
||||
if imageNameViewer.lowercased().components(separatedBy: ".").last == "pdf" {
|
||||
displayPDF()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue