File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
app/lib/frontend/templates/views/pkg Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,10 @@ d.Node labeledScoresNode({
3838 child: _labeledScore (
3939 'downloads' ,
4040 thirtyDaysDownloads != null
41- ? formatWith3SignificantDigits (thirtyDaysDownloads).value
41+ ? '${formatWith3SignificantDigits (thirtyDaysDownloads ).value }'
42+ '${formatWith3SignificantDigits (thirtyDaysDownloads ).suffix }'
4243 : null ,
43- sign: thirtyDaysDownloads != null
44- ? formatWith3SignificantDigits (thirtyDaysDownloads).suffix
45- : '' ,
44+ sign: '' ,
4645 ),
4746 )
4847 : d.div (
Original file line number Diff line number Diff line change @@ -279,8 +279,9 @@ d.Node _downloadCountsKeyFigureNode(int? downloadCounts) {
279279 );
280280 }
281281 return _keyFigureNode (
282- value: formatWith3SignificantDigits (downloadCounts).value,
283- supplemental: formatWith3SignificantDigits (downloadCounts).suffix,
282+ value: '${formatWith3SignificantDigits (downloadCounts ).value }'
283+ '${formatWith3SignificantDigits (downloadCounts ).suffix }' ,
284+ supplemental: '' ,
284285 label: 'downloads' ,
285286 );
286287}
You can’t perform that action at this time.
0 commit comments