mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Fix: Hide 'My gifts' tab when gifting to self
This commit is contained in:
parent
8c6f3d66b5
commit
a74635ff56
1 changed files with 1 additions and 1 deletions
|
@ -2928,7 +2928,7 @@ void AddBlock(
|
|||
window,
|
||||
peer,
|
||||
state->gifts.value(),
|
||||
!state->my.list.empty());
|
||||
!state->my.list.empty() && !peer->isSelf());
|
||||
state->priceTab = std::move(tabs.priceTab);
|
||||
result->add(std::move(tabs.widget));
|
||||
result->add(MakeGiftsList(window, peer, rpl::combine(
|
||||
|
|
Loading…
Add table
Reference in a new issue