Improve other admins list style in Invite Links.
This commit is contained in:
parent
047bf467b5
commit
d81c8f002d
|
@ -855,7 +855,7 @@ not_null<Ui::RpWidget*> AddAdminsList(
|
||||||
const auto controller = lifetime.make_state<AdminsController>(
|
const auto controller = lifetime.make_state<AdminsController>(
|
||||||
peer,
|
peer,
|
||||||
admin);
|
admin);
|
||||||
controller->setStyleOverrides(&st::inviteLinkList);
|
controller->setStyleOverrides(&st::inviteLinkAdminsList);
|
||||||
const auto content = container->add(object_ptr<PeerListContent>(
|
const auto content = container->add(object_ptr<PeerListContent>(
|
||||||
container,
|
container,
|
||||||
controller));
|
controller));
|
||||||
|
|
|
@ -914,6 +914,9 @@ inviteLinkList: PeerList(defaultPeerList) {
|
||||||
item: inviteLinkListItem;
|
item: inviteLinkListItem;
|
||||||
padding: margins(0px, 4px, 0px, 4px);
|
padding: margins(0px, 4px, 0px, 4px);
|
||||||
}
|
}
|
||||||
|
inviteLinkAdminsList: PeerList(peerListBox) {
|
||||||
|
padding: margins(0px, 4px, 0px, membersMarginBottom);
|
||||||
|
}
|
||||||
inviteLinkIconSkip: 7px;
|
inviteLinkIconSkip: 7px;
|
||||||
inviteLinkIconStroke: 2px;
|
inviteLinkIconStroke: 2px;
|
||||||
inviteLinkIcon: icon {{ "info/edit/links_link", mediaviewFileExtFg }};
|
inviteLinkIcon: icon {{ "info/edit/links_link", mediaviewFileExtFg }};
|
||||||
|
|
Loading…
Reference in New Issue