Skip to content

Commit

Permalink
Use newly-added info in index.json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
invpt committed Mar 2, 2024
1 parent dc24260 commit 75c1bab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/screens/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class _TourListItemState extends State<_TourListItem> {
color: Color.fromARGB(255, 160, 160, 160),
),
Text(
"Driving Tour",
widget.tour.type == "driving" ? "Driving Tour" : "Walking Tour",
style: Theme.of(context).textTheme.labelMedium!.copyWith(
color: const Color.fromARGB(255, 160, 160, 160)),
),
Expand All @@ -218,7 +218,7 @@ class _TourListItemState extends State<_TourListItem> {
color: Color.fromARGB(255, 160, 160, 160),
),
Text(
"18 Stops",
"${widget.tour.stops} Stops",
style: Theme.of(context).textTheme.labelMedium!.copyWith(
color: const Color.fromARGB(255, 160, 160, 160)),
),
Expand Down

0 comments on commit 75c1bab

Please sign in to comment.