mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
#4096 - Voice message playback view theme support.
This commit is contained in:
@@ -19,13 +19,14 @@ import UIKit
|
||||
class VoiceMessageWaveformView: UIView {
|
||||
|
||||
private let lineWidth: CGFloat = 2.0
|
||||
private let primarylineColor = UIColor.lightGray
|
||||
private let secondaryLineColor = UIColor.darkGray
|
||||
private let linePadding: CGFloat = 2.0
|
||||
|
||||
private var samples: [Float] = []
|
||||
private var barViews: [CALayer] = []
|
||||
|
||||
var primarylineColor = UIColor.lightGray
|
||||
var secondaryLineColor = UIColor.darkGray
|
||||
|
||||
var progress = 0.0 {
|
||||
didSet {
|
||||
updateBarViews()
|
||||
|
||||
Reference in New Issue
Block a user