Skip to content

Commit

Permalink
Fixed a small bug in Event.toString() and added Ui.png to the
Browse files Browse the repository at this point in the history
docs folder.
  • Loading branch information
kaij77 committed Sep 18, 2022
1 parent 1c47afc commit 7fdde37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added docs/Ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/java/duke/task/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public String toString() {
return String.format("[E][%s] %s (at: %s)", this.getStatusIcon(), this.getDescription(), this.at);
} else {
assert this.getNote() != null : "This task should have a note";
return String.format("[D][%s] %s (at: %s)", this.getStatusIcon(), this.getDescription(), this.at)
return String.format("[E][%s] %s (at: %s)", this.getStatusIcon(), this.getDescription(), this.at)
+ "\n" + String.format(" - Notes: %s", this.getNote());
}
}
Expand Down

0 comments on commit 7fdde37

Please sign in to comment.