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

Insert / Copy emoji from pack preview.

This commit is contained in:
John Preston
2022-09-14 14:45:23 +04:00
parent cae18b3320
commit bc340d75c4
23 changed files with 282 additions and 215 deletions

View File

@@ -1611,6 +1611,15 @@ rpl::producer<int> SessionController::connectingBottomSkipValue() const {
return _connectingBottomSkip.value();
}
void SessionController::stickerOrEmojiChosen(FileChosen chosen) {
_stickerOrEmojiChosen.fire(std::move(chosen));
}
auto SessionController::stickerOrEmojiChosen() const
-> rpl::producer<FileChosen> {
return _stickerOrEmojiChosen.events();
}
QPointer<Ui::BoxContent> SessionController::show(
object_ptr<Ui::BoxContent> content,
Ui::LayerOptions options,