mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 16:05:57 +00:00
Fix format
This commit is contained in:
@@ -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(
|
||||||
|
@@ -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(
|
||||||
|
@@ -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();
|
||||||
|
@@ -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);
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user