mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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
|
@ -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());
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue