Use tintColor for switches

This commit is contained in:
ismailgulek
2021-06-01 17:11:05 +03:00
committed by GitHub
parent ecf3dd8e39
commit a387194c3f
@@ -22,9 +22,10 @@ extension MXKTableViewCellWithLabelAndSwitch: Reusable {}
extension MXKTableViewCellWithLabelAndSwitch: Themable {
func update(theme: Theme) {
mxkLabel.textColor = theme.textPrimaryColor
backgroundColor = theme.backgroundColor
contentView.backgroundColor = .clear
mxkLabel.textColor = theme.textPrimaryColor
backgroundColor = theme.backgroundColor
contentView.backgroundColor = .clear
mxkSwitch.tintColor = theme.tintColor
}
}