mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Allow share and remove cloud themes.
This commit is contained in:
@@ -1245,6 +1245,12 @@ void ToggleNightMode(const QString &path) {
|
||||
Background()->toggleNightMode(path);
|
||||
}
|
||||
|
||||
void ResetToSomeDefault() {
|
||||
Background()->reapplyWithNightMode(
|
||||
IsNightMode() ? NightThemePath() : QString(),
|
||||
IsNightMode());
|
||||
}
|
||||
|
||||
bool LoadFromContent(
|
||||
const QByteArray &content,
|
||||
not_null<Instance*> out,
|
||||
|
Reference in New Issue
Block a user