From 5db983510bfb65a186ccbe3e95fb76ed3c67115e Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 8 Nov 2023 20:20:46 +0800 Subject: [PATCH] Swift linting --- apple/OmnivoreKit/Sources/Services/AudioSession/Voices.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/Services/AudioSession/Voices.swift b/apple/OmnivoreKit/Sources/Services/AudioSession/Voices.swift index f113da7c8..e524cb08e 100644 --- a/apple/OmnivoreKit/Sources/Services/AudioSession/Voices.swift +++ b/apple/OmnivoreKit/Sources/Services/AudioSession/Voices.swift @@ -61,9 +61,9 @@ public enum Voices { voice.firstKey == voiceKey || voice.secondKey == voiceKey }) } - + public static func isOpenAIVoice(_ voiceKey: String) -> Bool { - return voiceKey.starts(with: "openai-") + voiceKey.starts(with: "openai-") } public static let English = VoiceLanguage(key: "en",