From 6622cd281ed295c5ad6b8b9d8b81fb4d50a7fae3 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 5 Dec 2022 15:10:13 +0800 Subject: [PATCH] Remove unused view --- .../Views/AudioPlayer/ExpandedPlayer.swift | 36 ------------------- 1 file changed, 36 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/ExpandedPlayer.swift b/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/ExpandedPlayer.swift index cd6271ef5..1a8e7fa09 100644 --- a/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/ExpandedPlayer.swift +++ b/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/ExpandedPlayer.swift @@ -355,42 +355,6 @@ } } - var changeVoiceView: some View { - NavigationView { - VStack { - List { - ForEach(audioController.voiceList ?? [], id: \.key.self) { voice in - Button(action: { - audioController.currentVoice = voice.key - self.showVoiceSheet = false - }, label: { - HStack { - Text(voice.name) - - Spacer() - - if voice.selected { - Image(systemName: "checkmark") - } - } - .contentShape(Rectangle()) - }).buttonStyle(PlainButtonStyle()) - } - } - .padding(.top, 32) - .listStyle(.plain) - Spacer() - } - .navigationBarTitle("Voice") - .navigationBarTitleDisplayMode(.inline) - .navigationBarItems(leading: Button(action: { self.showVoiceSheet = false }, label: { - Image(systemName: "chevron.backward") - .font(.appNavbarIcon) - .tint(.appGrayTextContrast) - })) - } - } - var scrubbing: Bool { switch audioController.scrubState { case .scrubStarted: