Skip to content

Commit

Permalink
Merge pull request #207 from anneleong/N
Browse files Browse the repository at this point in the history
edit UI for daily function
  • Loading branch information
BenjoBurger authored Apr 15, 2024
2 parents 0b34172 + c1ce592 commit f1a7c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/newsonthego/commands/DailyNewsCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ private static void saveDailyArticlesParser() {
showExtract(dailyLine, articlesOfTheDay);
System.out.println("What do you want from me?\n" +
INDENT + "To return to main, type in: back ");
printLine();
break;
case "back":
isPolling = false;
printLine();
System.out.println("You are back to the main function!");
printLine();
break;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/newsonthego/utilities/UI.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public static void printArticleIsSaved(NewsArticle article) {
}

public static void printIndexError(List<NewsArticle> articleList) {
printLine();
printError("Theres only " + articleList.size() + " articles in the list...");
}

Expand Down

0 comments on commit f1a7c16

Please sign in to comment.