mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed display of button for earn out when withdrawal is locked.
This commit is contained in:
parent
0e35107e17
commit
cd5a1980c9
1 changed files with 1 additions and 1 deletions
|
@ -2021,7 +2021,7 @@ void AddWithdrawalWidget(
|
|||
lockedLabel->paintRequest() | rpl::start_with_next([=] {
|
||||
auto p = QPainter(lockedLabel);
|
||||
p.setPen(state->locked ? QPen(lockedColor) : stButton.textFg->p);
|
||||
if (state->dateIsNull) {
|
||||
if (state->dateIsNull && state->locked) {
|
||||
p.setFont(st::channelEarnSemiboldLabel.style.font);
|
||||
p.drawText(
|
||||
lockedLabel->rect(),
|
||||
|
|
Loading…
Add table
Reference in a new issue