mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix build for Windows.
This commit is contained in:
parent
38322dc998
commit
9eaac98070
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ GiftOptions GiftOptionFromTL(
|
||||||
}();
|
}();
|
||||||
auto info = Ui::Premium::GiftInfo{
|
auto info = Ui::Premium::GiftInfo{
|
||||||
.duration = Ui::FormatTTL(months * 86400 * 31),
|
.duration = Ui::FormatTTL(months * 86400 * 31),
|
||||||
.discount = QString("\u2212%1%").arg(discount),
|
.discount = QString::fromUtf8("\xe2\x88\x92%1%").arg(discount),
|
||||||
.perMonth = tr::lng_premium_gift_per(
|
.perMonth = tr::lng_premium_gift_per(
|
||||||
tr::now,
|
tr::now,
|
||||||
lt_cost,
|
lt_cost,
|
||||||
|
@ -320,8 +320,8 @@ void GiftBox(
|
||||||
UrlClickHandler::Open(
|
UrlClickHandler::Open(
|
||||||
local,
|
local,
|
||||||
QVariant::fromValue(ClickHandlerContext{
|
QVariant::fromValue(ClickHandlerContext{
|
||||||
.botStartAutoSubmit = true,
|
|
||||||
.sessionWindow = base::make_weak(controller.get()),
|
.sessionWindow = base::make_weak(controller.get()),
|
||||||
|
.botStartAutoSubmit = true,
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
box->setShowFinishedCallback([raw = button.data()]{
|
box->setShowFinishedCallback([raw = button.data()]{
|
||||||
|
|
Loading…
Add table
Reference in a new issue