Focus gift message field.

This commit is contained in:
John Preston 2024-10-02 14:59:17 +04:00
parent 0282786b4c
commit ede771e51b

View file

@ -914,6 +914,10 @@ void SendGiftBox(
state->details = std::move(now);
}, text->lifetime());
box->setFocusCallback([=] {
text->setFocusFast();
});
const auto allow = [=](not_null<DocumentData*> emoji) {
return true;
};