mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed pinned count for subsection tabs when chat itself is pinned.
This commit is contained in:
@@ -393,7 +393,8 @@ void SubsectionTabs::startFillingSlider(
|
||||
if (item.thread->fixedOnTopIndex()) {
|
||||
++fixedCount;
|
||||
}
|
||||
if (item.thread->isPinnedDialog(FilterId())) {
|
||||
if (item.thread->isPinnedDialog(FilterId())
|
||||
&& item.thread->asTopic()) {
|
||||
++pinnedCount;
|
||||
}
|
||||
const auto textFg = [=] {
|
||||
|
||||
Reference in New Issue
Block a user