Skip to content

Commit

Permalink
ignore empty spaces instead of 00AA. issue 24
Browse files Browse the repository at this point in the history
  • Loading branch information
apps4av committed Oct 19, 2024
1 parent 3657af5 commit 8e34219
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/plan/plan_route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ class PlanRoute {
List<String> split = line.split(" ");

for (String s in split) {
if(s.isEmpty) { // skip empty spaces
continue;
}
List<Destination> destinations = await MainDatabaseHelper.db.findDestinations(s, exact: true);
if(destinations.isEmpty) {
continue;
Expand Down

0 comments on commit 8e34219

Please sign in to comment.