media tile toolbar respects theme by using UIAppearance defaults

pull/1/head
Michael Kirk 7 years ago
parent 61dc39b696
commit 32f8795342

@ -105,7 +105,6 @@ public class MediaTileViewController: UICollectionViewController, MediaGalleryDa
footerBar.setItems(footerItems, animated: false) footerBar.setItems(footerItems, animated: false)
self.view.addSubview(self.footerBar) self.view.addSubview(self.footerBar)
footerBar.barTintColor = UIColor.ows_signalBrandBlue
footerBar.autoPinWidthToSuperview() footerBar.autoPinWidthToSuperview()
footerBar.autoSetDimension(.height, toSize: kFooterBarHeight) footerBar.autoSetDimension(.height, toSize: kFooterBarHeight)
self.footerBarBottomConstraint = footerBar.autoPinEdge(toSuperviewEdge: .bottom, withInset: -kFooterBarHeight) self.footerBarBottomConstraint = footerBar.autoPinEdge(toSuperviewEdge: .bottom, withInset: -kFooterBarHeight)

Loading…
Cancel
Save