mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-01 17:43:03 +02:00
Update settings_ayu.cpp
fix build
This commit is contained in:
parent
7b8880edc9
commit
63f070b454
1 changed files with 2 additions and 2 deletions
|
@ -809,9 +809,9 @@ void SetupQoLToggles(not_null<Ui::VerticalLayout*> container) {
|
|||
container->lifetime());
|
||||
|
||||
AddButtonWithIcon(container, tr::ayu_DisableTooltipDelay(), st::settingsButtonNoIcon)
|
||||
->toggleOn(rpl::single(settings.disableTooltipDelay))
|
||||
->toggleOn(rpl::single(settings->disableTooltipDelay))
|
||||
->toggledValue() |
|
||||
rpl::filter([=](bool enabled) { return (enabled != settings.disableTooltipDelay); }) |
|
||||
rpl::filter([=](bool enabled) { return (enabled != settings->disableTooltipDelay); }) |
|
||||
start_with_next(
|
||||
[=](bool enabled)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue