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) {