Skip to content

Commit

Permalink
chore: hide trending videos in feed
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-brontes committed Dec 31, 2024
1 parent c802f25 commit 991267d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/app/features/feed/views/pages/feed_page/feed_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import 'package:ion/app/features/feed/views/pages/feed_page/components/article_c
import 'package:ion/app/features/feed/views/pages/feed_page/components/feed_controls/feed_controls.dart';
import 'package:ion/app/features/feed/views/pages/feed_page/components/feed_posts/feed_posts.dart';
import 'package:ion/app/features/feed/views/pages/feed_page/components/stories/stories.dart';
import 'package:ion/app/features/feed/views/pages/feed_page/components/trending_videos/trending_videos.dart';
import 'package:ion/app/features/nostr/providers/entities_paged_data_provider.c.dart';
import 'package:ion/app/hooks/use_scroll_top_on_tab_press.dart';
import 'package:ion/app/router/components/navigation_app_bar/collapsing_app_bar.dart';
Expand All @@ -41,7 +40,8 @@ class FeedPage extends HookConsumerWidget {
children: [
if (feedCategory == FeedCategory.articles) const ArticleCategoriesMenu(),
if (feedCategory != FeedCategory.articles) const Stories(),
if (feedCategory == FeedCategory.feed) const TrendingVideos(),
// TODO: Uncomment when TrendingVideos should be returned to the feed
// if (feedCategory == FeedCategory.feed) const TrendingVideos(),
],
),
),
Expand Down

0 comments on commit 991267d

Please sign in to comment.