Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
Updated timeilne stats to use new cases/deaths from day before
Browse files Browse the repository at this point in the history
  • Loading branch information
Qizot committed Mar 21, 2020
1 parent 7f1b5e8 commit d240d95
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ class TotalTimelineStats extends StatelessWidget {
shrinkWrap: true,
crossAxisCount: 2,
children: <Widget>[
// new cases and new deaths are only submitted a day before
_info("Total cases", timeline.first.totalCases),
_info("New cases", timeline.first.newCases),
_info("New cases", timeline[1].newCases),
_info("Total deaths", timeline.first.totalDeaths),
_info("New deaths", timeline.first.newDeaths),
_info("New deaths", timeline[1].newDeaths),
_info("Total recovered", timeline.first.totalRecovered),

],
Expand Down

0 comments on commit d240d95

Please sign in to comment.