We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3e8ed8 commit 6a4e36eCopy full SHA for 6a4e36e
lib/src/provider/asset_picker_provider.dart
@@ -393,7 +393,7 @@ class DefaultAssetPickerProvider
393
}
394
final AssetEntity asset = assets.single;
395
// Obtain the thumbnail only when the asset is image or video.
396
- if (asset.type != AssetType.image || asset.type != AssetType.video) {
+ if (asset.type != AssetType.image && asset.type != AssetType.video) {
397
return null;
398
399
final Uint8List? assetData = await asset.thumbnailDataWithSize(
0 commit comments