From bbfb8a8b8bf825661d54704ef0a305475a5e93b0 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 15 Nov 2022 08:54:01 +0800 Subject: [PATCH] Feature flag on the ultra realistic voices --- .../App/Views/Profile/TextToSpeechVoiceSelectionView.swift | 2 +- apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Profile/TextToSpeechVoiceSelectionView.swift b/apple/OmnivoreKit/Sources/App/Views/Profile/TextToSpeechVoiceSelectionView.swift index e9979e969..f0ddaf888 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Profile/TextToSpeechVoiceSelectionView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Profile/TextToSpeechVoiceSelectionView.swift @@ -22,7 +22,7 @@ var body: some View { Group { Form { - if language.key == "en" { + if FeatureFlag.enableUltraRealisticVoices, language.key == "en" { if viewModel.waitingForRealisticVoices { HStack { Text("Signing up for beta") diff --git a/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift b/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift index 622ded52e..b4254d035 100644 --- a/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift +++ b/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift @@ -14,5 +14,5 @@ public enum FeatureFlag { public static let enableShareButton = false public static let enableSnooze = false public static let enableGridCardsOnPhone = false - public static let enableHighlightsView = true + public static let enableUltraRealisticVoices = false }