From 783e25b63ac709dc580c8604e1f6a45de9f8b01a Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 7 Oct 2022 12:48:02 +0800 Subject: [PATCH] Remove text to speech feature flag, its enabled for everyone now --- .../Sources/App/Views/WebReader/WebReaderContainer.swift | 4 +--- apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift b/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift index b2d883adb..31f50f7a8 100644 --- a/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift +++ b/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift @@ -132,9 +132,7 @@ struct WebReaderContainerView: View { .scaleEffect(navBarVisibilityRatio) Spacer() #endif - if FeatureFlag.enableTextToSpeechButton { - audioNavbarItem - } + audioNavbarItem Button( action: { showPreferencesPopover.toggle() }, label: { diff --git a/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift b/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift index 5c8ac8803..622ded52e 100644 --- a/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift +++ b/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift @@ -14,6 +14,5 @@ public enum FeatureFlag { public static let enableShareButton = false public static let enableSnooze = false public static let enableGridCardsOnPhone = false - public static let enableTextToSpeechButton = true public static let enableHighlightsView = true }