diff --git a/Telegram/SourceFiles/boxes/share_box.cpp b/Telegram/SourceFiles/boxes/share_box.cpp index d10e35741..637007a54 100644 --- a/Telegram/SourceFiles/boxes/share_box.cpp +++ b/Telegram/SourceFiles/boxes/share_box.cpp @@ -269,7 +269,7 @@ void ShareBox::prepareCommentField() { _show, _descriptor.session, field, - _descriptor.stComment)); + _descriptor.stLabel)); } field->setSubmitSettings(Core::App().settings().sendSubmitWay()); diff --git a/Telegram/SourceFiles/boxes/share_box.h b/Telegram/SourceFiles/boxes/share_box.h index 7feb45281..053c5893d 100644 --- a/Telegram/SourceFiles/boxes/share_box.h +++ b/Telegram/SourceFiles/boxes/share_box.h @@ -88,6 +88,7 @@ public: const style::MultiSelect *stMultiSelect = nullptr; const style::InputField *stComment = nullptr; const style::PeerList *st = nullptr; + const style::InputField *stLabel = nullptr; struct { int messagesCount = 0; bool show = false; diff --git a/Telegram/SourceFiles/calls/group/calls_group_settings.cpp b/Telegram/SourceFiles/calls/group/calls_group_settings.cpp index 7a1b178db..226583a22 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_settings.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_settings.cpp @@ -227,8 +227,9 @@ object_ptr ShareInviteLinkBox( tr::lng_group_call_copy_speaker_link(), tr::lng_group_call_copy_listener_link()), .stMultiSelect = &st::groupCallMultiSelect, - .stComment = &/*st::groupCallShareBoxComment*/st::groupCallField, + .stComment = &st::groupCallShareBoxComment, .st = &st::groupCallShareBoxList, + .stLabel = &st::groupCallField, .scheduleBoxStyle = scheduleStyle(), }); *box = result.data();