From 12f0b9ef26f6c02336c6f5eee96d6134d161615c Mon Sep 17 00:00:00 2001 From: Neurotoxin001 <39812401+Neurotoxin001@users.noreply.github.com> Date: Thu, 10 Jul 2025 16:29:26 +0300 Subject: [PATCH] Update settings_ayu.cpp fix build --- Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp b/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp index adff8b96f5..1f1cd68c6e 100644 --- a/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp +++ b/Telegram/SourceFiles/ayu/ui/settings/settings_ayu.cpp @@ -893,12 +893,12 @@ void SetupQoLToggles(not_null container) { tr::ayu_ShowForwardsCount(), st::settingsButtonNoIcon )->toggleOn( - rpl::single(settings.showForwards) + rpl::single(settings->showForwards) )->toggledValue( ) | rpl::filter( [=](bool enabled) { - return (enabled != settings.showForwards); + return (enabled != settings->showForwards); }) | start_with_next( [=](bool enabled) { @@ -912,12 +912,12 @@ void SetupQoLToggles(not_null container) { tr::ayu_ShowForwardsRatio(), st::settingsButtonNoIcon )->toggleOn( - rpl::single(settings.showForwardsRatio) + rpl::single(settings->showForwardsRatio) )->toggledValue( ) | rpl::filter( [=](bool enabled) { - return (enabled != settings.showForwardsRatio); + return (enabled != settings->showForwardsRatio); }) | start_with_next( [=](bool enabled) {