mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-19 06:26:55 +00:00
channel admin appointment box bottomshadow bug fixed
This commit is contained in:
parent
742134c439
commit
8f6be1c6ac
@ -1210,7 +1210,10 @@ void ContactsBox::init() {
|
||||
|
||||
connect(&_inner, SIGNAL(chosenChanged()), this, SLOT(onChosenChanged()));
|
||||
connect(&_inner, SIGNAL(addRequested()), App::wnd(), SLOT(onShowAddContact()));
|
||||
if (_inner.chat() || _inner.channel()) {
|
||||
if (_inner.channel() && _inner.channelFilter() == MembersFilterAdmins) {
|
||||
_next.hide();
|
||||
_cancel.hide();
|
||||
} else if (_inner.chat() || _inner.channel()) {
|
||||
connect(&_next, SIGNAL(clicked()), this, SLOT(onInvite()));
|
||||
_bottomShadow = new ScrollableBoxShadow(this);
|
||||
} else if (_inner.creating() != CreatingGroupNone) {
|
||||
@ -1326,7 +1329,7 @@ void ContactsBox::showAll() {
|
||||
if (_inner.channel() && _inner.channelFilter() == MembersFilterAdmins) {
|
||||
_next.hide();
|
||||
_cancel.hide();
|
||||
} else if (_inner.chat()) {
|
||||
} else if (_inner.chat() || _inner.channel()) {
|
||||
_next.show();
|
||||
_cancel.show();
|
||||
} else if (_inner.creating() != CreatingGroupNone) {
|
||||
|
Loading…
Reference in New Issue
Block a user