mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Fixed indents in some files.
This commit is contained in:
parent
3adbfb1fb5
commit
88b20f6700
34 changed files with 50 additions and 48 deletions
|
@ -537,7 +537,8 @@ HANDLE _generateDumpFileAtPath(const WCHAR *path) {
|
||||||
|
|
||||||
GetLocalTime(&stLocalTime);
|
GetLocalTime(&stLocalTime);
|
||||||
|
|
||||||
wsprintf(szFileName, L"%s%s-%s-%04d%02d%02d-%02d%02d%02d-%ld-%ld.dmp",
|
wsprintf(
|
||||||
|
szFileName, L"%s%s-%s-%04d%02d%02d-%02d%02d%02d-%ld-%ld.dmp",
|
||||||
szPath, szExeName, updaterVersionStr,
|
szPath, szExeName, updaterVersionStr,
|
||||||
stLocalTime.wYear, stLocalTime.wMonth, stLocalTime.wDay,
|
stLocalTime.wYear, stLocalTime.wMonth, stLocalTime.wDay,
|
||||||
stLocalTime.wHour, stLocalTime.wMinute, stLocalTime.wSecond,
|
stLocalTime.wHour, stLocalTime.wMinute, stLocalTime.wSecond,
|
||||||
|
|
|
@ -306,7 +306,8 @@ void objc_start() {
|
||||||
|
|
||||||
_sharedDelegate = [[ApplicationDelegate alloc] init];
|
_sharedDelegate = [[ApplicationDelegate alloc] init];
|
||||||
[[NSApplication sharedApplication] setDelegate:_sharedDelegate];
|
[[NSApplication sharedApplication] setDelegate:_sharedDelegate];
|
||||||
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver: _sharedDelegate
|
[[[NSWorkspace sharedWorkspace] notificationCenter]
|
||||||
|
addObserver: _sharedDelegate
|
||||||
selector: @selector(receiveWakeNote:)
|
selector: @selector(receiveWakeNote:)
|
||||||
name: NSWorkspaceDidWakeNotification object: NULL];
|
name: NSWorkspaceDidWakeNotification object: NULL];
|
||||||
}
|
}
|
||||||
|
|
|
@ -172,7 +172,7 @@ EditFlagsDescriptor<PowerSaving::Flags> PowerSavingLabels() {
|
||||||
{ tr::lng_settings_power_emoji(), std::move(emoji) },
|
{ tr::lng_settings_power_emoji(), std::move(emoji) },
|
||||||
{ tr::lng_settings_power_chat(), std::move(chat) },
|
{ tr::lng_settings_power_chat(), std::move(chat) },
|
||||||
{ std::nullopt, std::move(calls) },
|
{ std::nullopt, std::move(calls) },
|
||||||
{ std::nullopt, std::move(animations), },
|
{ std::nullopt, std::move(animations) },
|
||||||
}, .st = &st::powerSavingButton };
|
}, .st = &st::powerSavingButton };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue