Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
feat(): Change completion text to emoji
Browse files Browse the repository at this point in the history
Now that output is no longer to the CLI, where emoji don't really work
properly, this feature can be brought back.
  • Loading branch information
Cloud7050 committed Sep 22, 2023
1 parent 749eba0 commit e8ad23a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Example: `find open house`

## Marking items

Items can be marked (or unmarked) as complete by specifying their number. Completed items have an `X` in front of them.
Items can be marked (or unmarked) as complete by specifying their number. Completed items have a `` in front of them.

Syntax: `mark <number>`

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cloud/chatbot/item/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public boolean isComplete() {
* Returns a string denoting whether the Item has been completed.
*/
public String getCompletionString() {
return this.isComplete ? "X" : " ";
return this.isComplete ? "" : " ";
}

public void setComplete(boolean _isComplete) {
Expand Down

0 comments on commit e8ad23a

Please sign in to comment.