Skip to content

Commit

Permalink
Move kick icon in member list back on its place
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed May 6, 2020
1 parent 248c601 commit d8bea89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/info/info.style
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ infoMembersRemoveIconOver: icon {{
menuIconFgOver
}};
infoMembersAdminIconMarigns: margins(10px, 18px, 10px, 10px);
infoMembersRemoveIconMargins: margins(10px, 36px, 18px, 10px);
infoMembersRemoveIconMargins: margins(10px, 12px, 12px, 10px);

infoMediaHeaderStyle: TextStyle(semiboldTextStyle) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ void MemberListRow::paintAdminRank(
int y,
int outerWidth,
bool selected) {
if (_type.canRemove && selected) {
return;
}
p.setPen(_type.rights == Rights::Creator
? st::defaultPeerListItem.statusFgActive
: selected
Expand Down

0 comments on commit d8bea89

Please sign in to comment.