Update settings_ayu.cpp

fix build
This commit is contained in:
Neurotoxin001 2025-07-10 16:29:20 +03:00 committed by GitHub
parent 7b8880edc9
commit 63f070b454
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -809,9 +809,9 @@ void SetupQoLToggles(not_null<Ui::VerticalLayout*> container) {
container->lifetime()); container->lifetime());
AddButtonWithIcon(container, tr::ayu_DisableTooltipDelay(), st::settingsButtonNoIcon) AddButtonWithIcon(container, tr::ayu_DisableTooltipDelay(), st::settingsButtonNoIcon)
->toggleOn(rpl::single(settings.disableTooltipDelay)) ->toggleOn(rpl::single(settings->disableTooltipDelay))
->toggledValue() | ->toggledValue() |
rpl::filter([=](bool enabled) { return (enabled != settings.disableTooltipDelay); }) | rpl::filter([=](bool enabled) { return (enabled != settings->disableTooltipDelay); }) |
start_with_next( start_with_next(
[=](bool enabled) [=](bool enabled)
{ {