diff --git a/Tusker/Screens/Large Image/LargeImageViewController.swift b/Tusker/Screens/Large Image/LargeImageViewController.swift index 0be4aea1..f0ba116e 100644 --- a/Tusker/Screens/Large Image/LargeImageViewController.swift +++ b/Tusker/Screens/Large Image/LargeImageViewController.swift @@ -86,8 +86,9 @@ class LargeImageViewController: UIViewController, UIScrollViewDelegate, LargeIma scrollView.delegate = self - if let imageDescription = imageDescription { - descriptionLabel.text = imageDescription + if let imageDescription = imageDescription, + !imageDescription.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty { + descriptionLabel.text = imageDescription.trimmingCharacters(in: .whitespacesAndNewlines) } else { bottomControlsView.isHidden = true } diff --git a/Tusker/Screens/Large Image/LargeImageViewController.xib b/Tusker/Screens/Large Image/LargeImageViewController.xib index 5656e296..ed21b4cc 100644 --- a/Tusker/Screens/Large Image/LargeImageViewController.xib +++ b/Tusker/Screens/Large Image/LargeImageViewController.xib @@ -1,8 +1,9 @@ - + - + + @@ -70,23 +71,25 @@ - + + + - + @@ -101,7 +104,6 @@ -