mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Improve custom verification icon display.
This commit is contained in:
parent
c3e15de759
commit
865200db5e
2 changed files with 2 additions and 4 deletions
|
@ -440,7 +440,7 @@ infoPeerBadge: InfoPeerBadge {
|
|||
premium: infoPremiumStar;
|
||||
premiumFg: profileVerifiedCheckBg;
|
||||
position: infoVerifiedCheckPosition;
|
||||
sizeTag: 1; // Large
|
||||
sizeTag: 0; // Large
|
||||
}
|
||||
|
||||
infoIconFg: windowBoldFg;
|
||||
|
|
|
@ -745,9 +745,7 @@ void Cover::refreshNameGeometry(int newWidth) {
|
|||
_verify->move(nameLeft - margins.left(), badgeTop, badgeBottom);
|
||||
if (const auto widget = _verify->widget()) {
|
||||
const auto skip = widget->width()
|
||||
+ st::infoVerifiedCheckPosition.x()
|
||||
- margins.left()
|
||||
- margins.right();
|
||||
+ st::infoVerifiedCheckPosition.x();
|
||||
nameLeft += skip;
|
||||
nameWidth -= skip;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue