|
|
|
@ -358,7 +358,7 @@ class _AttachmentPickerState extends State<AttachmentPicker> with SingleTickerPr
|
|
|
|
// Runs on a downscaled copy in a background isolate; never throws.
|
|
|
|
// Runs on a downscaled copy in a background isolate; never throws.
|
|
|
|
final result = await analyzeImageQuality(
|
|
|
|
final result = await analyzeImageQuality(
|
|
|
|
fileImage,
|
|
|
|
fileImage,
|
|
|
|
config: const QualityConfig(blurThreshold: 25.0),
|
|
|
|
config: const QualityConfig(blurThreshold: 50.0),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
if (!mounted) return;
|
|
|
|
if (!mounted) return;
|
|
|
|
|