mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-05 10:34:49 +08:00
fix: remove hive file (#2276)
This commit is contained in:
committed by
GitHub
parent
bed533eaeb
commit
3446484d97
@@ -153,10 +153,9 @@ class VideoShotImage extends StatefulWidget {
|
||||
}
|
||||
|
||||
Future<ui.Image?> _getImg(String url) async {
|
||||
final cacheManager = DefaultCacheManager.instance!;
|
||||
final cacheKey = Utils.getFileName(url, fileExt: false);
|
||||
try {
|
||||
final fileInfo = await cacheManager.getSingleFile(
|
||||
final fileInfo = await CacheManager.manager.getSingleFile(
|
||||
ImageUtils.safeThumbnailUrl(url),
|
||||
key: cacheKey,
|
||||
headers: Constants.baseHeaders,
|
||||
|
||||
Reference in New Issue
Block a user