cleanup(transport_helper): remove unused database ref

This commit is contained in:
fbachus
2026-07-10 18:12:36 +02:00
parent ee4963ba04
commit 000092d444
+1 -2
View File
@@ -262,7 +262,6 @@ class Segment {
} }
factory Segment.fromJson(Map<String, dynamic> json) { factory Segment.fromJson(Map<String, dynamic> json) {
Database database = DbHelper.db;
Segment tmp = Segment( Segment tmp = Segment(
startPoint: Station.fromJson(json["Origin"]), startPoint: Station.fromJson(json["Origin"]),
endPoint: Station.fromJson(json["Destination"]), endPoint: Station.fromJson(json["Destination"]),
@@ -767,4 +766,4 @@ enum VehicleType {
subway, subway,
regionalTrain, regionalTrain,
PLACEHOLDER, PLACEHOLDER,
} }