diff --git a/src/main/java/com/archivision/community/model/Reply.java b/src/main/java/com/archivision/community/model/Reply.java index ced7fc7..ac278f9 100644 --- a/src/main/java/com/archivision/community/model/Reply.java +++ b/src/main/java/com/archivision/community/model/Reply.java @@ -12,8 +12,7 @@ public enum Reply { DISLIKE("-"), SETTINGS("Налаштування"), STATS("Статистика"), - BACK("Завершити"), - SEARCH("Пошук"); + BACK("Завершити"); private final String replyOption; Reply(String replyOption) { diff --git a/src/main/java/com/archivision/community/state/impl/MatchStateHandler.java b/src/main/java/com/archivision/community/state/impl/MatchStateHandler.java index 54b568b..b5dda23 100644 --- a/src/main/java/com/archivision/community/state/impl/MatchStateHandler.java +++ b/src/main/java/com/archivision/community/state/impl/MatchStateHandler.java @@ -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); } }