mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-13 18:47:19 +00:00
Allow not to cache emoji sprites.
This commit is contained in:
parent
3b0bf7cb1e
commit
8cf62c312f
@ -817,6 +817,10 @@ void Instance::checkUniversalImages() {
|
||||
void Instance::generateCache() {
|
||||
checkUniversalImages();
|
||||
|
||||
const auto cachePath = internal::CacheFileFolder();
|
||||
if (cachePath.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
const auto size = _size;
|
||||
const auto index = _sprites.size();
|
||||
crl::async([
|
||||
|
Loading…
Reference in New Issue
Block a user