Use tintColor for switches

This commit is contained in:
ismailgulek
2021-06-01 17:11:05 +03:00
committed by GitHub
parent cd5c6c93eb
commit 0604b95460
@@ -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
}
}