Skip to content

Commit 21cb2ea

Browse files
authored
Enable trending packages on landing page (dart-lang#8769)
* Enable trending packages on landing page * remove import
1 parent 41617ac commit 21cb2ea

File tree

1 file changed

+1
-3
lines changed
  • app/lib/frontend/templates/views/landing

1 file changed

+1
-3
lines changed

app/lib/frontend/templates/views/landing/page.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import 'package:_pub_shared/search/search_form.dart';
66
import 'package:_pub_shared/search/tags.dart';
7-
import 'package:pub_dev/frontend/request_context.dart';
87

98
import '../../../../package/models.dart';
109
import '../../../../service/youtube/backend.dart';
@@ -36,8 +35,7 @@ d.Node landingPageNode({
3635
viewAllEvent: 'landing-flutter-favorites-view-all',
3736
viewAllTitle: 'Search Flutter Favorites packages',
3837
),
39-
if (requestContext.experimentalFlags.showTrending &&
40-
_isNotEmptyList(trendingPackages))
38+
if (_isNotEmptyList(trendingPackages))
4139
_block(
4240
shortId: 'mp',
4341
image: d.Image.decorative(

0 commit comments

Comments
 (0)