mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
fix: remove as not planned
This commit is contained in:
parent
2729fee0ac
commit
a3f4185b45
5 changed files with 1 additions and 50 deletions
|
@ -114,8 +114,6 @@ PRIVATE
|
|||
ayu/utils/telegram_helpers.h
|
||||
ayu/utils/windows_utils.cpp
|
||||
ayu/utils/windows_utils.h
|
||||
ayu/ui/ayu_lottie.cpp
|
||||
ayu/ui/ayu_lottie.h
|
||||
ayu/ui/ayu_assets.cpp
|
||||
ayu/ui/ayu_assets.h
|
||||
ayu/ui/utils/ayu_profile_values.cpp
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "ayu_infra.h"
|
||||
|
||||
#include "ayu_lang.h"
|
||||
#include "ayu/ayu_lottie.h"
|
||||
#include "ayu/ui/ayu_lottie.h"
|
||||
#include "ayu/database/ayu_database.h"
|
||||
#include "lang/lang_instance.h"
|
||||
#include "ayu/ayu_settings.h"
|
||||
|
@ -28,11 +26,6 @@ void initLang()
|
|||
CustomLangPack::currentInstance()->fetchCustomLangPack(langPackId, langPackBaseId);
|
||||
}
|
||||
|
||||
void initLottie()
|
||||
{
|
||||
AyuUi::setLottieImpl(std::make_shared<AyuUi::AyuLottieImpl>());
|
||||
}
|
||||
|
||||
void initDatabase()
|
||||
{
|
||||
AyuDatabase::initialize();
|
||||
|
@ -49,7 +42,6 @@ void initFonts()
|
|||
void init()
|
||||
{
|
||||
initLang();
|
||||
initLottie();
|
||||
initFonts();
|
||||
initDatabase();
|
||||
}
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
// This is the source code of AyuGram for Desktop.
|
||||
//
|
||||
// We do not and cannot prevent the use of our code,
|
||||
// but be respectful and credit the original author.
|
||||
//
|
||||
// Copyright @Radolyn, 2023
|
||||
#include "ayu_lottie.h"
|
||||
|
||||
namespace AyuUi
|
||||
{
|
||||
|
||||
std::unique_ptr<Lottie::Icon> AyuLottieImpl::getLottie(const QString &text)
|
||||
{
|
||||
// todo: some kind of mapping
|
||||
// Lottie::MakeIcon({.json = QString(), .sizeOverride = {24, 24}});
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
// This is the source code of AyuGram for Desktop.
|
||||
//
|
||||
// We do not and cannot prevent the use of our code,
|
||||
// but be respectful and credit the original author.
|
||||
//
|
||||
// Copyright @Radolyn, 2023
|
||||
#pragma once
|
||||
|
||||
#include "lottie/lottie_icon.h"
|
||||
#include "ayu/ayu_lottie.h"
|
||||
|
||||
namespace AyuUi
|
||||
{
|
||||
|
||||
class AyuLottieImpl : public AyuLottie
|
||||
{
|
||||
std::unique_ptr<Lottie::Icon> getLottie(const QString &text) override;
|
||||
};
|
||||
|
||||
}
|
|
@ -1 +1 @@
|
|||
Subproject commit d0b0f2aee9dac4cd13cf8a13bf4614dcd13bdd5b
|
||||
Subproject commit a7dfd383490e9e3a3a83b2b920d34f6409d37eee
|
Loading…
Add table
Reference in a new issue