2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Improve single column layout forum / topic top bar.

This commit is contained in:
John Preston
2022-10-21 17:12:46 +04:00
parent b497e5ea21
commit b92b8e56cb
4 changed files with 136 additions and 105 deletions

View File

@@ -523,7 +523,7 @@ void Filler::addToggleUnreadMark() {
return;
}
const auto unread = IsUnreadThread(_thread);
if (_thread->asTopic() && !unread) {
if ((_thread->asTopic() || peer->isForum()) && !unread) {
return;
}
const auto weak = base::make_weak(_thread);