mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fixed display of button for earn out when withdrawal is locked.
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user