mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
pr suggestions
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import SwiftUI
|
||||
|
||||
struct PlaybackSpeedButton: View {
|
||||
let speed: VoiceMessagePlaybackSpeed
|
||||
let speed: AudioPlaybackSpeed
|
||||
let onTap: () -> Void
|
||||
|
||||
var body: some View {
|
||||
@@ -35,7 +35,7 @@ struct PlaybackSpeedButton: View {
|
||||
struct PlaybackSpeedButton_Previews: PreviewProvider, TestablePreview {
|
||||
static var previews: some View {
|
||||
HStack(spacing: 8) {
|
||||
ForEach(VoiceMessagePlaybackSpeed.allCases, id: \.self) { speed in
|
||||
ForEach(AudioPlaybackSpeed.allCases, id: \.self) { speed in
|
||||
PlaybackSpeedButton(speed: speed) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user