mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Hide weird unread badge in new-window forum.
This commit is contained in:
parent
9075a521f0
commit
fb25d90b48
1 changed files with 1 additions and 1 deletions
|
@ -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([=] {
|
||||||
|
|
Loading…
Add table
Reference in a new issue