Skip to content

Commit 03d3c24

Browse files
committed
🐛 Fix loading when no assets in the path
1 parent 6a2cbbc commit 03d3c24

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ that can be found in the LICENSE file. -->
1212
### Fixes
1313

1414
- Fix the app bar of the viewer that is not animating.
15+
- Fix loading when no assets in the path.
1516

1617
## 9.0.3
1718

lib/src/provider/asset_picker_provider.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ class DefaultAssetPickerProvider
394394
}
395395
_currentAssets.addAll(list);
396396
_hasAssetsToDisplay = _currentAssets.isNotEmpty;
397+
_isAssetsEmpty = _currentAssets.isEmpty;
397398
notifyListeners();
398399
}
399400

0 commit comments

Comments
 (0)