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:
parent
a28ca46460
commit
61bdbdb5d6
@ -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;
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user