mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Focus gift message field.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user