2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use spoiler animation for ExtendedMedia.

This commit is contained in:
John Preston
2022-09-09 15:43:43 +04:00
parent 20b5138e00
commit a919978a37
3 changed files with 22 additions and 17 deletions

View File

@@ -74,6 +74,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/text/text_options.h"
#include "ui/emoji_config.h"
#include "ui/effects/animations.h"
#include "ui/effects/spoiler_mess.h"
#include "ui/cached_round_corners.h"
#include "storage/serialize_common.h"
#include "storage/storage_domain.h"
@@ -255,6 +256,7 @@ void Application::run() {
Ui::InitTextOptions();
Ui::StartCachedCorners();
Ui::Emoji::Init();
Ui::PrepareDefaultSpoilerMess();
startEmojiImageLoader();
startSystemDarkModeViewer();
Media::Player::start(_audio.get());