mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-01 09:33:02 +02:00
Update settings_ayu.cpp
fix build
This commit is contained in:
parent
8bea85e597
commit
12f0b9ef26
1 changed files with 4 additions and 4 deletions
|
@ -893,12 +893,12 @@ void SetupQoLToggles(not_null<Ui::VerticalLayout*> 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<Ui::VerticalLayout*> 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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue