mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Version 4.0.2: Remove Saved Messages premium badge.
This commit is contained in:
@@ -658,7 +658,7 @@ int PeerListRow::nameIconWidth() const {
|
||||
? 0
|
||||
: _peer->isVerified()
|
||||
? st::dialogsVerifiedIcon.width()
|
||||
: _peer->isPremium()
|
||||
: (_peer->isPremium() && !_peer->isSelf())
|
||||
? st::dialogsPremiumIcon.width()
|
||||
: 0;
|
||||
}
|
||||
@@ -671,7 +671,7 @@ void PeerListRow::paintNameIcon(
|
||||
bool selected) {
|
||||
if (_peer->isVerified()) {
|
||||
st::dialogsVerifiedIcon.paint(p, x, y, outerWidth);
|
||||
} else if (_peer->isPremium()) {
|
||||
} else if (_peer->isPremium() && !_peer->isSelf()) {
|
||||
st::dialogsPremiumIcon.paint(p, x, y, outerWidth);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user