From 8faf8668bd2c1459f9a0a334ba7657cf814695d4 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 1 Oct 2018 13:30:41 -0600 Subject: [PATCH] lighter sheetview handle for dark theme --- SignalMessaging/ViewControllers/SheetViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SignalMessaging/ViewControllers/SheetViewController.swift b/SignalMessaging/ViewControllers/SheetViewController.swift index bf65b684f..1a7d6510f 100644 --- a/SignalMessaging/ViewControllers/SheetViewController.swift +++ b/SignalMessaging/ViewControllers/SheetViewController.swift @@ -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