2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-22 10:17:10 +00:00

Fix alignment of custom verification.

This commit is contained in:
John Preston 2025-08-01 15:03:14 +04:00
parent a28ca46460
commit 61bdbdb5d6
2 changed files with 4 additions and 1 deletions

View File

@ -446,6 +446,9 @@ infoPeerBadge: InfoPeerBadge {
position: infoVerifiedCheckPosition; position: infoVerifiedCheckPosition;
sizeTag: 0; // Normal sizeTag: 0; // Normal
} }
infoBotVerifyBadge: InfoPeerBadge(infoPeerBadge) {
position: point(-2px, 2px);
}
infoIconFg: windowBoldFg; infoIconFg: windowBoldFg;

View File

@ -593,7 +593,7 @@ Cover::Cover(
, _botVerify( , _botVerify(
std::make_unique<Badge>( std::make_unique<Badge>(
this, this,
st::infoPeerBadge, st::infoBotVerifyBadge,
&peer->session(), &peer->session(),
BotVerifyBadgeForPeer(peer), BotVerifyBadgeForPeer(peer),
nullptr, nullptr,