Skip to content

Commit

Permalink
Update image_cache_manager.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
myafer committed Dec 4, 2024
1 parent 74e71ca commit b6105f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mixin ImageCacheManager on BaseCacheManager {

Future<bool> getExt(File file) async {
if (!await file.exists()) {
debugPrint('文件不存在: ${file.path}');
debugPrint('file is not found: ${file.path}');
return false;
}
final raf = await file.open();
Expand All @@ -83,7 +83,7 @@ mixin ImageCacheManager on BaseCacheManager {
return true; // ICO
}

return false; // 不支持的文件类型
return false;
}

final Map<String, Stream<FileResponse>> _runningResizes = {};
Expand Down

0 comments on commit b6105f7

Please sign in to comment.