mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
#4096 - Added voice message decoding, timeline cell and playback UI.
This commit is contained in:
@@ -22,7 +22,7 @@ protocol VoiceMessageToolbarViewDelegate: AnyObject {
|
||||
func voiceMessageToolbarViewDidRequestRecordingFinish(_ toolbarView: VoiceMessageToolbarView)
|
||||
}
|
||||
|
||||
enum VoiceMessageToolbarViewState {
|
||||
enum VoiceMessageToolbarViewUIState {
|
||||
case idle
|
||||
case recording
|
||||
}
|
||||
@@ -53,7 +53,7 @@ class VoiceMessageToolbarView: PassthroughView, Themable, UIGestureRecognizerDel
|
||||
|
||||
weak var delegate: VoiceMessageToolbarViewDelegate?
|
||||
|
||||
var state: VoiceMessageToolbarViewState = .idle {
|
||||
var state: VoiceMessageToolbarViewUIState = .idle {
|
||||
didSet {
|
||||
switch state {
|
||||
case .recording:
|
||||
|
||||
Reference in New Issue
Block a user