Skip to content

Commit

Permalink
add location to list
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenKangg committed Apr 8, 2024
1 parent f27556a commit 28014b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/seedu/omnitravel/ui/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ public static void printActivity(TravelActivity activity, int activityIndex) {
if(activity.getExpense() != null && !activity.getExpense().isEmpty()){
System.out.print(" (" + activity.getExpense() + ")");
}
if(activity.getLocation() != null && !activity.getLocation().isEmpty()){
System.out.print(" (" + activity.getLocation() + ")");
}
System.out.println();
}

Expand Down

0 comments on commit 28014b7

Please sign in to comment.