diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index 6bd26fbdc..c1e67990d 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -144,35 +144,6 @@ import Views } } } - .sheet(isPresented: $viewModel.showAudioInfoAlert) { - VStack { - Text("Welcome to the Omnivore text to speech beta.") - .font(.appTitle) - - Spacer() - - Text( - """ - This build introduces offline text to speech files. Normally these files will\ - be downloaded in the background and made available offline. - - During the beta these files can be manually downloaded by long pressing on an item and\ - choosing Download Audio, or by tapping the play button. When you first tap the\ - play button, the audio will be generated and downloaded. This can take some time. - - Future versions will do this in the background. - """) - Text("") - - Spacer() - - Button( - action: { viewModel.dismissAudioInfoAlert() }, - label: { Text("Dismiss").frame(maxWidth: .infinity) } - ) - .buttonStyle(RoundedRectButtonStyle()) - }.padding(24) - } .task { if viewModel.items.isEmpty { loadItems(isRefresh: true) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewModel.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewModel.swift index f67fc68d8..be922e211 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewModel.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewModel.swift @@ -29,8 +29,6 @@ import Views @Published var selectedItem: LinkedItem? @Published var linkIsActive = false - @AppStorage(UserDefaultKey.audioInfoAlertShown.rawValue) var showAudioInfoAlert = false - @AppStorage(UserDefaultKey.lastSelectedLinkedItemFilter.rawValue) var appliedFilter = LinkedItemFilter.inbox.rawValue @AppStorage(UserDefaultKey.lastItemSyncTime.rawValue) var lastItemSyncTime = DateFormatter.formatterISO8601.string( @@ -148,11 +146,6 @@ import Views showLoadingBar = false } - func dismissAudioInfoAlert() { - UserDefaults.standard.set(true, forKey: UserDefaultKey.audioInfoAlertShown.rawValue) - showAudioInfoAlert = false - } - func downloadAudio(audioController: AudioController, item: LinkedItem) { Snackbar.show(message: "Downloading Offline Audio") Task { diff --git a/apple/OmnivoreKit/Sources/Utils/UserDefaultKeys.swift b/apple/OmnivoreKit/Sources/Utils/UserDefaultKeys.swift index 9a518687c..07d3dde4b 100644 --- a/apple/OmnivoreKit/Sources/Utils/UserDefaultKeys.swift +++ b/apple/OmnivoreKit/Sources/Utils/UserDefaultKeys.swift @@ -13,7 +13,6 @@ public enum UserDefaultKey: String { case lastUsedAppVersion case lastUsedAppBuildNumber case lastItemSyncTime - case audioInfoAlertShown case textToSpeechPlaybackRate case textToSpeechCurrentVoice }