From 654f84363a8b641b54a4479fec2230778c7ee3cc Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 28 Apr 2021 20:52:57 -0400 Subject: [PATCH] Fix polls displaying incorrectly in dark mode --- Tusker/Views/Poll/PollOptionCheckboxView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Views/Poll/PollOptionCheckboxView.swift b/Tusker/Views/Poll/PollOptionCheckboxView.swift index 7f940cce..d9a53d44 100644 --- a/Tusker/Views/Poll/PollOptionCheckboxView.swift +++ b/Tusker/Views/Poll/PollOptionCheckboxView.swift @@ -68,7 +68,7 @@ class PollOptionCheckboxView: UIView { layer.borderColor = UIColor.gray.cgColor } backgroundColor = isChecked && !voted ? tintColor : .clear - imageView.tintColor = voted ? .black : .white + imageView.tintColor = voted ? .label : .white } }