lighter sheetview handle for dark theme

This commit is contained in:
Michael Kirk 2018-10-01 13:30:41 -06:00
parent bbbc5bbb83
commit 8faf8668bd
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class SheetViewController: UIViewController {
sheetView.setCompressionResistanceHigh()
self.sheetViewVerticalConstraint = sheetView.autoPinEdge(.top, to: .bottom, of: self.view)
handleView.backgroundColor = Theme.backgroundColor
handleView.backgroundColor = Theme.isDarkThemeEnabled ? UIColor.ows_white : UIColor.ows_gray05
let kHandleViewHeight: CGFloat = 5
handleView.autoSetDimensions(to: CGSize(width: 40, height: kHandleViewHeight))
handleView.layer.cornerRadius = kHandleViewHeight / 2