Skip to content

Commit

Permalink
Merge pull request nus-cs2103-AY2223S2#83 from weekiat-douze/v1.3
Browse files Browse the repository at this point in the history
Update Example for Add Image in User Guide
  • Loading branch information
SHni99 authored Mar 31, 2023
2 parents 81a4875 + 1e7fcc8 commit d3887c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ Format: `add-image INDEX ai/[PATH-TO-IMAGE]`
Examples:

* `list` followed by `add-image 2 C:/Users/user/Downloads/weekiat.png` adds the image `weekiat.png` to the 2nd person
in the address book
* `list` followed by `add-image 2 ai/C:/Users/user/Downloads/weekiat.png` adds the image `weekiat.png` to the 2nd person in the address book


### Delete an Image for contacts

Expand Down
1 change: 1 addition & 0 deletions src/main/java/seedu/address/model/tag/Tag.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public static boolean isValidTagName(String test) {
}

public String getTagName() {
assert tagName != null : "Tag object with null tagName!";
String[] splitTag = this.tagName.split("XXXXX");
if (splitTag.length == 1) {
return splitTag[0];
Expand Down

0 comments on commit d3887c7

Please sign in to comment.