feat(calls): Я ЕБЛАН ХАХАХХА Я ШАШКИ ЧЕРЕЗ ЗВОНКИ СДЕЛАЛ

This commit is contained in:
Jganenok
2026-06-13 00:42:14 +07:00
parent d7dcb076c3
commit d6acfa52fa
8 changed files with 999 additions and 12 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import 'package:path/path.dart' as p;
import 'package:path_provider/path_provider.dart';
import '../config/app_media_cache.dart';
import '../storage/app_instance.dart';
/// Постоянный дисковый кэш скачанных медиа (файлы, видео).
///
@@ -21,7 +22,7 @@ class MediaCache {
final cached = _dir;
if (cached != null) return cached;
final base = await getApplicationSupportDirectory();
final dir = Directory(p.join(base.path, 'media_cache'));
final dir = Directory(p.join(base.path, 'media_cache${AppInstance.suffix}'));
if (!await dir.exists()) {
await dir.create(recursive: true);
}