2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix format

This commit is contained in:
Sean Wei
2020-07-01 17:03:29 +08:00
committed by John Preston
parent 2b5df331bd
commit 212944d89c
7 changed files with 13 additions and 13 deletions

View File

@@ -259,9 +259,9 @@ auto AddButtonWithLoader(
)
);
*buttonState = localLoaderValues->events_starting_with(
rawGlobalLoaderPtr() ? rawGlobalLoaderPtr() : localLoader->get()
) | rpl::map([=](Loader *loader) {
*buttonState = localLoaderValues->events_starting_with(
rawGlobalLoaderPtr() ? rawGlobalLoaderPtr() : localLoader->get()
) | rpl::map([=](Loader *loader) {
return (loader && loader->id() == id)
? loader->state()
: rpl::single(