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

Beta version 3.6.3: Fix emoji in ReactionsSettingsBox on non-Retina.

This commit is contained in:
John Preston
2022-04-14 09:45:52 +04:00
parent 59fc9d3bfd
commit 5cf3b621ee
3 changed files with 20 additions and 18 deletions

View File

@@ -881,8 +881,9 @@ void SetupMessages(
) | rpl::filter([](const QString &emoji) {
return !emoji.isEmpty();
});
rpl::duplicate(
emojiValue
auto selectedEmoji = rpl::duplicate(emojiValue);
std::move(
selectedEmoji
) | rpl::start_with_next([=, emojiValue = std::move(emojiValue)](
const QString &emoji) {
const auto &reactions = controller->session().data().reactions();