Skip to content

Commit

Permalink
Removed Пошук from Reply as it's not user reply
Browse files Browse the repository at this point in the history
  • Loading branch information
Serwios committed Aug 10, 2024
1 parent a2f68f5 commit f1fec57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/archivision/community/model/Reply.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ public enum Reply {
DISLIKE("-"),
SETTINGS("Налаштування"),
STATS("Статистика"),
BACK("Завершити"),
SEARCH("Пошук");
BACK("Завершити");

private final String replyOption;
Reply(String replyOption) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void onStateChanged(Long chatId) {

private void processBrowsing(Long chatId) {
profileSender.showProfile(chatId);
messageSender.sendMsgWithMarkup(chatId, SEARCH.toString(), keyboardBuilder.matchButtons());
messageSender.sendMsgWithMarkup(chatId, "Пошук", keyboardBuilder.matchButtons());
profileSender.sendNextProfile(chatId);
}
}

0 comments on commit f1fec57

Please sign in to comment.