Remove "Loading preview..." label.

This commit is contained in:
Doug
2021-09-07 16:12:12 +01:00
parent 1083516152
commit f9a656c74d
2 changed files with 4 additions and 19 deletions
@@ -56,7 +56,6 @@ class URLPreviewView: UIView, NibLoadable, Themable {
@IBOutlet weak var descriptionLabel: UILabel!
@IBOutlet weak var loadingView: UIView!
@IBOutlet weak var loadingLabel: UILabel!
@IBOutlet weak var loadingActivityIndicator: UIActivityIndicatorView!
// Matches the label's height with the close button.
@@ -107,9 +106,6 @@ class URLPreviewView: UIView, NibLoadable, Themable {
descriptionLabel.textColor = theme.colors.secondaryContent
descriptionLabel.font = theme.fonts.caption1
loadingLabel.textColor = siteNameLabel.textColor
loadingLabel.font = siteNameLabel.font
let closeButtonAsset = ThemeService.shared().isCurrentThemeDark() ? Asset.Images.urlPreviewCloseDark : Asset.Images.urlPreviewClose
closeButton.setImage(closeButtonAsset.image, for: .normal)
}