Hide weird unread badge in new-window forum.

This commit is contained in:
John Preston 2025-05-07 18:03:46 +04:00
parent 9075a521f0
commit fb25d90b48

View file

@ -1525,7 +1525,7 @@ void TopBarWidget::refreshUnreadBadge() {
geometry.y() + st::titleUnreadCounterTop); geometry.y() + st::titleUnreadCounterTop);
}, _unreadBadge->lifetime()); }, _unreadBadge->lifetime());
_unreadBadge->show(); _unreadBadge->setVisible(!rootChatsListBar());
_unreadBadge->setAttribute(Qt::WA_TransparentForMouseEvents); _unreadBadge->setAttribute(Qt::WA_TransparentForMouseEvents);
_controller->session().data().unreadBadgeChanges( _controller->session().data().unreadBadgeChanges(
) | rpl::start_with_next([=] { ) | rpl::start_with_next([=] {