Provided separated style for general labels in ShareBox.

This commit is contained in:
23rd 2022-03-14 13:39:50 +03:00
parent 0b336a2954
commit bbc72f752a
3 changed files with 4 additions and 2 deletions

View file

@ -269,7 +269,7 @@ void ShareBox::prepareCommentField() {
_show, _show,
_descriptor.session, _descriptor.session,
field, field,
_descriptor.stComment)); _descriptor.stLabel));
} }
field->setSubmitSettings(Core::App().settings().sendSubmitWay()); field->setSubmitSettings(Core::App().settings().sendSubmitWay());

View file

@ -88,6 +88,7 @@ public:
const style::MultiSelect *stMultiSelect = nullptr; const style::MultiSelect *stMultiSelect = nullptr;
const style::InputField *stComment = nullptr; const style::InputField *stComment = nullptr;
const style::PeerList *st = nullptr; const style::PeerList *st = nullptr;
const style::InputField *stLabel = nullptr;
struct { struct {
int messagesCount = 0; int messagesCount = 0;
bool show = false; bool show = false;

View file

@ -227,8 +227,9 @@ object_ptr<ShareBox> ShareInviteLinkBox(
tr::lng_group_call_copy_speaker_link(), tr::lng_group_call_copy_speaker_link(),
tr::lng_group_call_copy_listener_link()), tr::lng_group_call_copy_listener_link()),
.stMultiSelect = &st::groupCallMultiSelect, .stMultiSelect = &st::groupCallMultiSelect,
.stComment = &/*st::groupCallShareBoxComment*/st::groupCallField, .stComment = &st::groupCallShareBoxComment,
.st = &st::groupCallShareBoxList, .st = &st::groupCallShareBoxList,
.stLabel = &st::groupCallField,
.scheduleBoxStyle = scheduleStyle(), .scheduleBoxStyle = scheduleStyle(),
}); });
*box = result.data(); *box = result.data();