Skip to content

Commit 6368f95

Browse files
Merge pull request #187 from OneBusAway/add-tram-icon-to-trip-modal
Add tram icon
2 parents 57a49d4 + af4c274 commit 6368f95

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/trip-planner/LegDetails.svelte

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
faRulerCombined,
1212
faClock,
1313
faArrowRight,
14-
faArrowAltCircleRight
14+
faArrowAltCircleRight,
15+
faTram
1516
} from '@fortawesome/free-solid-svg-icons';
1617
import { FontAwesomeIcon } from '@fortawesome/svelte-fontawesome';
1718
import { t } from 'svelte-i18n';
@@ -47,6 +48,10 @@
4748
icon = faTrainSubway;
4849
iconColor = 'text-red-600';
4950
break;
51+
case 'TRAM':
52+
icon = faTram;
53+
iconColor = 'text-orange-500';
54+
break;
5055
default:
5156
icon = null;
5257
}

0 commit comments

Comments
 (0)