Skip to content

Commit

Permalink
Display case registration number instead of standard case name such a…
Browse files Browse the repository at this point in the history
…s "Case 1" or "Case 2" Fix #137
  • Loading branch information
dewmal committed Mar 22, 2020
1 parent 56df287 commit 8c8fcf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/widgets/case_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class CaseItem extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
"CASE " + _case.id.toString(),
_case.caseNumber,
style: TextStyle(
fontSize: 18.0, fontWeight: FontWeight.w800),
),
Expand Down Expand Up @@ -157,7 +157,7 @@ class CaseItem extends StatelessWidget {
? RaisedButton(
color: TrackerColors.primaryColor,
child: Text(
"REGISTER ME, I WAS THERE",
"REGISTER",
style: TextStyle(color: Colors.white),
),
shape: RoundedRectangleBorder(
Expand Down

0 comments on commit 8c8fcf0

Please sign in to comment.