mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Show only one placeholder for premium reactions.
This commit is contained in:
@@ -443,8 +443,7 @@ rpl::producer<int> FullReactionsCountValue(
|
||||
return rpl::single(rpl::empty) | rpl::then(
|
||||
reactions->updates()
|
||||
) | rpl::map([=] {
|
||||
return int(reactions->list(
|
||||
Data::Reactions::Type::ActiveNonPremium).size());
|
||||
return int(reactions->list(Data::Reactions::Type::Active).size());
|
||||
}) | rpl::distinct_until_changed();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user