lock approach is slower on ios

This commit is contained in:
mertalev
2026-01-17 01:05:12 -05:00
parent 06467f2c0d
commit d83e74dc88
5 changed files with 43 additions and 69 deletions
@@ -12,7 +12,7 @@ class ThumbhashImageRequest extends ImageRequest {
}
final Map<String, int> info = await localImageApi.getThumbhash(thumbhash);
final frame = await _fromPlatformImage(info, ui.PixelFormat.rgba8888, true);
final frame = await _fromPlatformImage(info, true);
return frame == null ? null : ImageInfo(image: frame.image, scale: scale);
}