mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Version 4.11.6: Fix build with GCC.
This commit is contained in:
parent
d6bd88d119
commit
2afc171bec
3 changed files with 2 additions and 9 deletions
|
@ -692,7 +692,7 @@ void GiftCodePendingBox(
|
|||
|
||||
AddTable(box->verticalLayout(), controller, data, true);
|
||||
|
||||
const auto footer = box->addRow(
|
||||
box->addRow(
|
||||
object_ptr<Ui::FlatLabel>(
|
||||
box,
|
||||
tr::lng_gift_link_pending_footer(),
|
||||
|
|
|
@ -184,8 +184,6 @@ void FillShareLink(
|
|||
|
||||
label->clicks(
|
||||
) | rpl::start_with_next(copyLink, label->lifetime());
|
||||
const auto copyShareWrap = content->add(
|
||||
object_ptr<Ui::VerticalLayout>(content));
|
||||
{
|
||||
const auto wrap = content->add(
|
||||
object_ptr<Ui::FixedHeightWidget>(
|
||||
|
|
|
@ -24,7 +24,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
namespace Ui {
|
||||
namespace {
|
||||
|
||||
[[nodiscrd]] BoostCounters AdjustByReached(BoostCounters data) {
|
||||
[[nodiscard]] BoostCounters AdjustByReached(BoostCounters data) {
|
||||
const auto exact = (data.boosts == data.thisLevelBoosts);
|
||||
const auto reached = !data.nextLevelBoosts || (exact && data.mine > 0);
|
||||
if (reached) {
|
||||
|
@ -465,11 +465,6 @@ void AskBoostBox(
|
|||
box->setWidth(st::boxWideWidth);
|
||||
box->setStyle(st::boostBox);
|
||||
|
||||
struct State {
|
||||
bool submitted = false;
|
||||
};
|
||||
const auto state = box->lifetime().make_state<State>();
|
||||
|
||||
FillBoostLimit(
|
||||
BoxShowFinishes(box),
|
||||
box->verticalLayout(),
|
||||
|
|
Loading…
Add table
Reference in a new issue