Skip to content

Commit

Permalink
Fix bug as text cannot see
Browse files Browse the repository at this point in the history
  • Loading branch information
Respirayson committed Nov 9, 2023
1 parent 2603791 commit 9b56ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/ui/TaskCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ public TaskCard(Task task, int displayedIndex) {
priority.setStyle("-fx-fill: green");
break;
case MEDIUM:
priority.setStyle("-fx-fill: yellow");
priority.setStyle("-fx-fill: blue");

Check warning on line 84 in src/main/java/seedu/address/ui/TaskCard.java

View check run for this annotation

Codecov / codecov/patch

src/main/java/seedu/address/ui/TaskCard.java#L84

Added line #L84 was not covered by tests
break;
case HIGH:
priority.setStyle("-fx-fill: red");
break;
default:
priority.setStyle("-fx-fill: white");
priority.setStyle("-fx-fill: black");

Check warning on line 90 in src/main/java/seedu/address/ui/TaskCard.java

View check run for this annotation

Codecov / codecov/patch

src/main/java/seedu/address/ui/TaskCard.java#L90

Added line #L90 was not covered by tests
}

name.setStrikethrough(isDone);
Expand Down

0 comments on commit 9b56ba9

Please sign in to comment.