mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Don't show non-working wallpaper button.
This commit is contained in:
parent
73b63aa414
commit
e57742e7de
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ TextWithEntities ThemeDocumentBox::subtitle() {
|
|||
}
|
||||
|
||||
rpl::producer<QString> ThemeDocumentBox::button() {
|
||||
if (_parent->data()->out()) {
|
||||
if (_parent->data()->out() || _parent->history()->peer->isChannel()) {
|
||||
return {};
|
||||
}
|
||||
return rpl::conditional(
|
||||
|
|
Loading…
Add table
Reference in a new issue