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( *buttonState = localLoaderValues->events_starting_with(
rawGlobalLoaderPtr() ? rawGlobalLoaderPtr() : localLoader->get() rawGlobalLoaderPtr() ? rawGlobalLoaderPtr() : localLoader->get()
) | rpl::map([=](Loader *loader) { ) | rpl::map([=](Loader *loader) {
return (loader && loader->id() == id) return (loader && loader->id() == id)
? loader->state() ? loader->state()
: rpl::single( : rpl::single(

View file

@ -529,7 +529,7 @@ void ActionsFiller::addClearHistoryAction(not_null<UserData*> user) {
_wrap, _wrap,
tr::lng_profile_clear_history(), tr::lng_profile_clear_history(),
rpl::single(true), rpl::single(true),
Window::ClearHistoryHandler(user)); Window::ClearHistoryHandler(user));
} }
void ActionsFiller::addDeleteConversationAction( void ActionsFiller::addDeleteConversationAction(

View file

@ -536,7 +536,7 @@ void CloudManager::performSwitchToCustom() {
}; };
const auto text = tr::lng_sure_save_language(tr::now) const auto text = tr::lng_sure_save_language(tr::now)
+ "\n\n" + "\n\n"
+ getValue(tr::lng_sure_save_language.base); + getValue(tr::lng_sure_save_language.base);
const auto change = [=] { const auto change = [=] {
_langpack.switchToCustomFile(filePath); _langpack.switchToCustomFile(filePath);
App::restart(); App::restart();

View file

@ -20,7 +20,7 @@ int __clock_gettime_glibc_old(clockid_t clk_id, struct timespec *tp);
__asm__(".symver __clock_gettime_glibc_old,clock_gettime@GLIBC_" GETTIME_GLIBC_VERSION); __asm__(".symver __clock_gettime_glibc_old,clock_gettime@GLIBC_" GETTIME_GLIBC_VERSION);
int __wrap_clock_gettime(clockid_t clk_id, struct timespec *tp) { int __wrap_clock_gettime(clockid_t clk_id, struct timespec *tp) {
return __clock_gettime_glibc_old(clk_id, tp); return __clock_gettime_glibc_old(clk_id, tp);
} }
uint64_t __udivmoddi4(uint64_t num, uint64_t den, uint64_t *rem_p); uint64_t __udivmoddi4(uint64_t num, uint64_t den, uint64_t *rem_p);

View file

@ -20,6 +20,6 @@ __asm__(".symver __clock_gettime_glibc_old,clock_gettime@GLIBC_" GETTIME_GLIBC_V
int __wrap_clock_gettime(clockid_t clk_id, struct timespec *tp) { int __wrap_clock_gettime(clockid_t clk_id, struct timespec *tp) {
return __clock_gettime_glibc_old(clk_id, tp); return __clock_gettime_glibc_old(clk_id, tp);
} }