Skip to content

Commit cbb405a

Browse files
committed
⚡ Ignore size constraint for image assets.
1 parent 26c76d8 commit cbb405a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/provider/asset_picker_provider.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@ class AssetPickerProvider extends ChangeNotifier {
215215
)
216216
..setOption(
217217
AssetType.image,
218-
const FilterOption(needTitle: true),
218+
const FilterOption(
219+
needTitle: true,
220+
sizeConstraint: SizeConstraint(ignoreSize: true),
221+
),
219222
);
220223

221224
/// Merge user's filter option into base options if it's not null.

0 commit comments

Comments
 (0)