Skip to content

Commit 95d4af6

Browse files
committed
Add seperate flag for download counts chart
1 parent ec19ac0 commit 95d4af6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/lib/frontend/handlers/experimental.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class ExperimentalFlags {
9696
bool get isDarkModeDefault => isEnabled('dark-as-default');
9797

9898
bool get showDownloadCounts => isEnabled('download-counts');
99+
bool get showDownloadCountsChart => isEnabled('download-counts-chart');
99100

100101
String encodedAsCookie() => _enabled.join(':');
101102

app/lib/frontend/templates/views/pkg/score_tab.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ d.Node scoreTabNode({
8080
),
8181
_reportNode(report),
8282
if (card.weeklyVersionDownloads != null &&
83-
requestContext.experimentalFlags.showDownloadCounts)
83+
requestContext.experimentalFlags.showDownloadCountsChart)
8484
_downloadsChart(card.weeklyVersionDownloads!),
8585
if (toolEnvInfo != null) toolEnvInfo,
8686
]),

0 commit comments

Comments
 (0)