diff --git a/LittleShop/littleshop.db-wal b/LittleShop/littleshop.db-wal index 7ff98da..745dba4 100644 Binary files a/LittleShop/littleshop.db-wal and b/LittleShop/littleshop.db-wal differ diff --git a/TeleBot/TeleBot/Handlers/CallbackHandler.cs b/TeleBot/TeleBot/Handlers/CallbackHandler.cs index 91e97b9..ff11e54 100644 --- a/TeleBot/TeleBot/Handlers/CallbackHandler.cs +++ b/TeleBot/TeleBot/Handlers/CallbackHandler.cs @@ -195,7 +195,7 @@ namespace TeleBot.Handlers var products = await _shopService.GetProductsAsync(categoryId, 1); // Edit the original message to show category header (bigger, more prominent) - var headerText = $"šŸ›ļø **{category?.Name ?? "Unknown Category"} PRODUCTS**\n\nšŸ“‹ Browse individual products below:"; + var headerText = $"**{category?.Name ?? "Unknown Category"} PRODUCTS**\n\nBrowse individual products below:"; await bot.EditMessageTextAsync( message.Chat.Id, @@ -218,11 +218,10 @@ namespace TeleBot.Handlers ); } - // Send navigation message after all products + // Send navigation buttons after all products await bot.SendTextMessageAsync( message.Chat.Id, - "šŸ”½ *Navigation*", - parseMode: Telegram.Bot.Types.Enums.ParseMode.Markdown, + ".", replyMarkup: MenuBuilder.ProductNavigationMenu(categoryId) ); } @@ -255,8 +254,8 @@ namespace TeleBot.Handlers // Edit the original message to show category header var headerText = !string.IsNullOrEmpty(categoryName) - ? $"šŸ“¦ *Products in {categoryName}*\n\nBrowse products below:" - : "šŸ“¦ *All Products*\n\nBrowse products below:"; + ? $"**Products in {categoryName}**\n\nBrowse products below:" + : "**All Products**\n\nBrowse products below:"; await bot.EditMessageTextAsync( message.Chat.Id, @@ -279,11 +278,10 @@ namespace TeleBot.Handlers ); } - // Send navigation message after all products + // Send navigation buttons after all products await bot.SendTextMessageAsync( message.Chat.Id, - "šŸ”½ *Navigation*", - parseMode: Telegram.Bot.Types.Enums.ParseMode.Markdown, + ".", replyMarkup: MenuBuilder.ProductNavigationMenu(categoryId) ); } diff --git a/TeleBot/TeleBot/UI/MessageFormatter.cs b/TeleBot/TeleBot/UI/MessageFormatter.cs index 59c0016..b0e6c57 100644 --- a/TeleBot/TeleBot/UI/MessageFormatter.cs +++ b/TeleBot/TeleBot/UI/MessageFormatter.cs @@ -30,8 +30,8 @@ namespace TeleBot.UI public static string FormatCategories(List categories) { var sb = new StringBuilder(); - sb.AppendLine("šŸ›ļø **PRODUCT CATEGORIES**\n"); - sb.AppendLine("šŸ”½ Choose a category to start shopping:"); + sb.AppendLine("**PRODUCT CATEGORIES**\n"); + sb.AppendLine("Choose a category to start shopping:"); return sb.ToString(); }