mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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() {
|
rpl::producer<QString> ThemeDocumentBox::button() {
|
||||||
if (_parent->data()->out()) {
|
if (_parent->data()->out() || _parent->history()->peer->isChannel()) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
return rpl::conditional(
|
return rpl::conditional(
|
||||||
|
|
Loading…
Add table
Reference in a new issue