diff --git a/apple/OmnivoreKit/Sources/App/Views/LinkItemDetailView.swift b/apple/OmnivoreKit/Sources/App/Views/LinkItemDetailView.swift index 876564b45..2277e30d0 100644 --- a/apple/OmnivoreKit/Sources/App/Views/LinkItemDetailView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/LinkItemDetailView.swift @@ -140,10 +140,8 @@ struct LinkItemDetailView: View { #if os(iOS) if viewModel.item.isPDF { fixedNavBarReader - } else if FeatureFlag.useLocalWebView { - WebReaderContainerView(item: viewModel.item, homeFeedViewModel: viewModel.homeFeedViewModel) } else { - hidingNavBarReader + WebReaderContainerView(item: viewModel.item, homeFeedViewModel: viewModel.homeFeedViewModel) } #else fixedNavBarReader diff --git a/apple/OmnivoreKit/Sources/App/Views/Profile/ProfileView.swift b/apple/OmnivoreKit/Sources/App/Views/Profile/ProfileView.swift index 07d967767..68071010a 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Profile/ProfileView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Profile/ProfileView.swift @@ -72,10 +72,8 @@ struct ProfileView: View { } Section { - if FeatureFlag.enableLabels { - NavigationLink(destination: LabelsView()) { - Text("Labels") - } + NavigationLink(destination: LabelsView()) { + Text("Labels") } NavigationLink(destination: NewsletterEmailsView()) { diff --git a/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift b/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift index ab5196f5a..43385fcc4 100644 --- a/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift +++ b/apple/OmnivoreKit/Sources/Utils/FeatureFlags.swift @@ -14,6 +14,4 @@ public enum FeatureFlag { public static let enablePushNotifications = false public static let enableShareButton = false public static let enableSnooze = false - public static let enableLabels = true - public static let useLocalWebView = true } diff --git a/apple/OmnivoreKit/Sources/Views/FeedItem/GridCard.swift b/apple/OmnivoreKit/Sources/Views/FeedItem/GridCard.swift index c52a5f2fb..b239e62e4 100644 --- a/apple/OmnivoreKit/Sources/Views/FeedItem/GridCard.swift +++ b/apple/OmnivoreKit/Sources/Views/FeedItem/GridCard.swift @@ -149,20 +149,16 @@ public struct GridCard: View { .onTapGesture { tapHandler() } // Category Labels - if FeatureFlag.enableLabels { - ScrollView(.horizontal, showsIndicators: false) { - HStack { - ForEach(item.labels.asArray(of: LinkedItemLabel.self), id: \.self) { - TextChip(feedItemLabel: $0) - } - Spacer() + ScrollView(.horizontal, showsIndicators: false) { + HStack { + ForEach(item.labels.asArray(of: LinkedItemLabel.self), id: \.self) { + TextChip(feedItemLabel: $0) } - .frame(height: 30) - .padding(.horizontal) - .padding(.bottom, 8) + Spacer() } - } else { - Spacer(minLength: 8) + .frame(height: 30) + .padding(.horizontal) + .padding(.bottom, 8) } } .background(