mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Fixed ability to renew credits subscription.
This commit is contained in:
parent
69e7c27fd0
commit
5886a07300
1 changed files with 1 additions and 1 deletions
|
@ -1871,7 +1871,7 @@ void GenericCreditsEntryBox(
|
||||||
: tr::lng_gift_show_on_page)()
|
: tr::lng_gift_show_on_page)()
|
||||||
: tr::lng_box_ok()));
|
: tr::lng_box_ok()));
|
||||||
const auto send = [=, weak = Ui::MakeWeak(box)] {
|
const auto send = [=, weak = Ui::MakeWeak(box)] {
|
||||||
if (toRejoin) {
|
if (toRejoin && !toRenew) {
|
||||||
if (const auto window = show->resolveWindow()) {
|
if (const auto window = show->resolveWindow()) {
|
||||||
const auto finish = [=](Payments::CheckoutResult&&) {
|
const auto finish = [=](Payments::CheckoutResult&&) {
|
||||||
ProcessReceivedSubscriptions(weak, session);
|
ProcessReceivedSubscriptions(weak, session);
|
||||||
|
|
Loading…
Add table
Reference in a new issue