Public Access
feat(ui): filter for station arrivals after start
This commit is contained in:
+4
-1
@@ -327,7 +327,10 @@ class _ChooseArrivalPageState extends State<ChooseArrivalPage> {
|
||||
Departure? _selectedDeparture;
|
||||
|
||||
void loadArrivals(String ref) async {
|
||||
departureList = await ApiHandler.tripDetail(ref);
|
||||
departureList = await ApiHandler.tripDetail(
|
||||
ref,
|
||||
startStationId: widget.departure.stationId,
|
||||
);
|
||||
setState(() {});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user