Skip to content

Commit

Permalink
Add underline to completed tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan Weiguang committed Oct 12, 2016
1 parent 0ade408 commit 0c56cb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/seedu/agendum/ui/UpcomingTaskCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public static UpcomingTaskCard load(ReadOnlyTask task, int displayedIndex){

@FXML
public void initialize() {
if(task.isCompleted()) {
name.setUnderline(true);
}
name.setText(task.getName().fullName);
id.setText(displayedIndex + ". ");
time.setText(formatTime());
Expand Down

0 comments on commit 0c56cb6

Please sign in to comment.