mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
VoiceMessagePlaybackView: Update background view color property name.
This commit is contained in:
@@ -62,7 +62,9 @@ class VoiceMessagePlaybackView: UIView, NibLoadable, Themable {
|
||||
return _waveformView
|
||||
}
|
||||
|
||||
var backgroundViewColor: UIColor? {
|
||||
/// Define the `backgroundView.backgroundColor`.
|
||||
/// By setting this value the theme color will not be applyied to `backgroundView` in `update(theme: Theme)` method.
|
||||
var customBackgroundViewColor: UIColor? {
|
||||
didSet {
|
||||
if let theme = currentTheme {
|
||||
self.update(theme: theme)
|
||||
@@ -138,7 +140,7 @@ class VoiceMessagePlaybackView: UIView, NibLoadable, Themable {
|
||||
playButton.backgroundColor = theme.colors.background
|
||||
playButton.tintColor = theme.colors.secondaryContent
|
||||
|
||||
let backgroundViewColor = self.backgroundViewColor ?? theme.colors.quinaryContent
|
||||
let backgroundViewColor = self.customBackgroundViewColor ?? theme.colors.quinaryContent
|
||||
|
||||
backgroundView.backgroundColor = backgroundViewColor
|
||||
_waveformView.primaryLineColor = theme.colors.quarterlyContent
|
||||
|
||||
Reference in New Issue
Block a user