mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Center the keyboard button icon without text.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user