Center the keyboard button icon without text.

This commit is contained in:
John Preston
2026-02-16 11:58:26 +04:00
parent 4c2d72d00b
commit c20bf7aeb1
@@ -783,7 +783,10 @@ ReplyKeyboard::ReplyKeyboard(
auto result = TextWithEntities();
if (const auto iconId = row[j].visual.iconId) {
using namespace Data;
result.append(SingleCustomEmoji(iconId)).append(' ');
result.append(SingleCustomEmoji(iconId));
if (!text.isEmpty()) {
result.append(' ');
}
}
if (type == Type::Buy) {
auto firstPart = true;