2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 07:56:03 +00:00

Provide old version to Platform::NewVersionLaunched

This commit is contained in:
Ilya Fedin
2022-09-01 10:44:23 +04:00
committed by John Preston
parent e20840b4d4
commit 5fc7caeec9
8 changed files with 27 additions and 33 deletions

View File

@@ -41,6 +41,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done = nullptr);
bool TrayIconSupported();
bool SkipTaskbarSupported();
void WriteCrashDumpDetails();
void NewVersionLaunched(int oldVersion);
[[nodiscard]] std::optional<bool> IsDarkMode();
[[nodiscard]] inline bool IsDarkModeSupported() {