mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed withdrawal button for credits with minimal amount.
This commit is contained in:
parent
cad25ae644
commit
ffa4b1db87
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ void InnerWidget::fill() {
|
||||||
.creditsAmount = [=, show = _controller->uiShow()] {
|
.creditsAmount = [=, show = _controller->uiShow()] {
|
||||||
const auto amount = input->getLastText().toULongLong();
|
const auto amount = input->getLastText().toULongLong();
|
||||||
const auto min = float64(WithdrawalMin(session));
|
const auto min = float64(WithdrawalMin(session));
|
||||||
if (amount <= min) {
|
if (amount < min) {
|
||||||
auto text = tr::lng_bot_earn_credits_out_minimal(
|
auto text = tr::lng_bot_earn_credits_out_minimal(
|
||||||
tr::now,
|
tr::now,
|
||||||
lt_link,
|
lt_link,
|
||||||
|
|
Loading…
Add table
Reference in a new issue