mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Removed VoiceBroadcastProtocol
We do not need to abstract it
This commit is contained in:
+2
-2
@@ -100,9 +100,9 @@ final class VoiceBroadcastPlaybackController: Coordinator, Presentable, VoiceBro
|
||||
|
||||
// MARK: - Private
|
||||
|
||||
// VoiceBroadcastProtocol is intentionally not available in the SwiftUI target as we don't want
|
||||
// VoiceBroadcast is intentionally not available in the SwiftUI target as we don't want
|
||||
// to add the SDK as a dependency to it. We need to translate from one to the other on this level.
|
||||
func buildTimelineVoiceBroadcastFrom(_ voiceBroadcast: VoiceBroadcastProtocol) -> TimelineVoiceBroadcastDetails {
|
||||
func buildTimelineVoiceBroadcastFrom(_ voiceBroadcast: VoiceBroadcast) -> TimelineVoiceBroadcastDetails {
|
||||
|
||||
return TimelineVoiceBroadcastDetails(chunks: Array(voiceBroadcast.chunks), type: voiceBroadcastKindToTimelineVoiceBroadcastType(voiceBroadcast.kind))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user