MESSENGER-4179 send button wrong color

This commit is contained in:
Arnfried Griesert
2023-03-02 14:50:31 +00:00
parent b1c85b9a24
commit c94184f74c
32 changed files with 110 additions and 17 deletions
@@ -183,6 +183,14 @@ class VoiceMessageToolbarView: PassthroughView, NibLoadable, Themable, UIGesture
func update(theme: Theme) {
currentTheme = theme
playbackView.update(theme: theme)
if BWIBuildSettings.shared.bwiEnableBuMUI {
let microphoneImage = Asset.Images.voiceMessageRecordButtonRecordingBum.image
secondaryRecordButton.setImage(microphoneImage, for: .normal)
} else {
let microphoneImage = Asset.Images.voiceMessageRecordButtonRecording.image
secondaryRecordButton.setImage(microphoneImage, for: .normal)
}
}
// MARK: - UIGestureRecognizerDelegate