mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 09:11:43 +00:00
verified check display for users added
This commit is contained in:
@@ -686,7 +686,7 @@ void ProfileInner::paintEvent(QPaintEvent *e) {
|
||||
|
||||
int32 namew = _width - st::profilePhotoSize - st::profileNameLeft;
|
||||
p.setPen(st::black->p);
|
||||
if (_peerChannel && _peerChannel->isVerified()) {
|
||||
if (_peer->isVerified()) {
|
||||
namew -= st::verifiedCheckProfile.pxWidth() + st::verifiedCheckProfilePos.x();
|
||||
int32 cx = _left + st::profilePhotoSize + st::profileNameLeft + qMin(_nameText.maxWidth(), namew);
|
||||
p.drawSprite(QPoint(cx, top + st::profileNameTop) + st::verifiedCheckProfilePos, st::verifiedCheckProfile);
|
||||
|
||||
Reference in New Issue
Block a user