mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 13:39:06 +00:00
Hide weird unread badge in new-window forum.
This commit is contained in:
parent
9075a521f0
commit
fb25d90b48
@ -1525,7 +1525,7 @@ void TopBarWidget::refreshUnreadBadge() {
|
||||
geometry.y() + st::titleUnreadCounterTop);
|
||||
}, _unreadBadge->lifetime());
|
||||
|
||||
_unreadBadge->show();
|
||||
_unreadBadge->setVisible(!rootChatsListBar());
|
||||
_unreadBadge->setAttribute(Qt::WA_TransparentForMouseEvents);
|
||||
_controller->session().data().unreadBadgeChanges(
|
||||
) | rpl::start_with_next([=] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user