mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Version 4.0.2: Remove Saved Messages premium badge.
This commit is contained in:
parent
14416a68db
commit
fc7dcd0360
1 changed files with 2 additions and 2 deletions
|
@ -658,7 +658,7 @@ int PeerListRow::nameIconWidth() const {
|
||||||
? 0
|
? 0
|
||||||
: _peer->isVerified()
|
: _peer->isVerified()
|
||||||
? st::dialogsVerifiedIcon.width()
|
? st::dialogsVerifiedIcon.width()
|
||||||
: _peer->isPremium()
|
: (_peer->isPremium() && !_peer->isSelf())
|
||||||
? st::dialogsPremiumIcon.width()
|
? st::dialogsPremiumIcon.width()
|
||||||
: 0;
|
: 0;
|
||||||
}
|
}
|
||||||
|
@ -671,7 +671,7 @@ void PeerListRow::paintNameIcon(
|
||||||
bool selected) {
|
bool selected) {
|
||||||
if (_peer->isVerified()) {
|
if (_peer->isVerified()) {
|
||||||
st::dialogsVerifiedIcon.paint(p, x, y, outerWidth);
|
st::dialogsVerifiedIcon.paint(p, x, y, outerWidth);
|
||||||
} else if (_peer->isPremium()) {
|
} else if (_peer->isPremium() && !_peer->isSelf()) {
|
||||||
st::dialogsPremiumIcon.paint(p, x, y, outerWidth);
|
st::dialogsPremiumIcon.paint(p, x, y, outerWidth);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue