mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Hide weird unread badge in new-window forum.
This commit is contained in:
@@ -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([=] {
|
||||||
|
Reference in New Issue
Block a user