mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-01 12:00:48 +00:00
Show verified badge in chat top bar.
This commit is contained in:
parent
57f769f358
commit
a94c42411b
@ -513,7 +513,7 @@ void TopBarWidget::paintTopBar(Painter &p) {
|
|||||||
const auto peer = history->peer;
|
const auto peer = history->peer;
|
||||||
const auto &text = peer->topBarNameText();
|
const auto &text = peer->topBarNameText();
|
||||||
const auto badgeStyle = Ui::PeerBadgeStyle{
|
const auto badgeStyle = Ui::PeerBadgeStyle{
|
||||||
nullptr, // verified
|
&st::dialogsVerifiedIcon, // verified
|
||||||
&st::dialogsPremiumIcon, // premium
|
&st::dialogsPremiumIcon, // premium
|
||||||
&st::attentionButtonFg };
|
&st::attentionButtonFg };
|
||||||
const auto badgeWidth = Ui::DrawPeerBadgeGetWidth(
|
const auto badgeWidth = Ui::DrawPeerBadgeGetWidth(
|
||||||
|
Loading…
Reference in New Issue
Block a user