mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 15:17:07 +02:00
Provided separated style for general labels in ShareBox.
This commit is contained in:
parent
0b336a2954
commit
bbc72f752a
3 changed files with 4 additions and 2 deletions
Telegram/SourceFiles
|
@ -269,7 +269,7 @@ void ShareBox::prepareCommentField() {
|
|||
_show,
|
||||
_descriptor.session,
|
||||
field,
|
||||
_descriptor.stComment));
|
||||
_descriptor.stLabel));
|
||||
}
|
||||
field->setSubmitSettings(Core::App().settings().sendSubmitWay());
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue