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

Implement reactions selector above the menu.

This commit is contained in:
John Preston
2022-08-19 15:08:11 +03:00
parent f658cb7e99
commit bd42c23999
34 changed files with 3023 additions and 1074 deletions

View File

@@ -542,8 +542,8 @@ int UniqueReactionsLimit(not_null<PeerData*> peer) {
}
rpl::producer<int> UniqueReactionsLimitValue(
not_null<Main::Session*> session) {
const auto config = &session->account().appConfig();
not_null<PeerData*> peer) {
const auto config = &peer->session().account().appConfig();
return config->value(
) | rpl::map([=] {
return UniqueReactionsLimit(config);