forked from shadowfacts/Tusker
Fix polls displaying incorrectly in dark mode
This commit is contained in:
parent
4dd510f3af
commit
654f84363a
|
@ -68,7 +68,7 @@ class PollOptionCheckboxView: UIView {
|
||||||
layer.borderColor = UIColor.gray.cgColor
|
layer.borderColor = UIColor.gray.cgColor
|
||||||
}
|
}
|
||||||
backgroundColor = isChecked && !voted ? tintColor : .clear
|
backgroundColor = isChecked && !voted ? tintColor : .clear
|
||||||
imageView.tintColor = voted ? .black : .white
|
imageView.tintColor = voted ? .label : .white
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue