mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Use tintColor for switches
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user