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,
_descriptor.session,
field,
_descriptor.stComment));
_descriptor.stLabel));
}
field->setSubmitSettings(Core::App().settings().sendSubmitWay());

View File

@ -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;

View File

@ -227,8 +227,9 @@ object_ptr<ShareBox> 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();