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 7c32912 commit b658501Copy full SHA for b658501
lib/src/provider/asset_picker_provider.dart
@@ -218,9 +218,11 @@ class AssetPickerProvider extends ChangeNotifier {
218
for (final AssetPathEntity pathEntity in _list) {
219
// Use sync method to avoid unnecessary wait.
220
_pathEntityList[pathEntity] = null;
221
- getFirstThumbFromPathEntity(pathEntity).then((Uint8List data) {
222
- _pathEntityList[pathEntity] = data;
223
- });
+ if (requestType != RequestType.audio) {
+ getFirstThumbFromPathEntity(pathEntity).then((Uint8List data) {
+ _pathEntityList[pathEntity] = data;
224
+ });
225
+ }
226
}
227
228
/// Set first path entity as current path entity.
0 commit comments