mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Don't show non-working wallpaper button.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user