Skip to content

Commit

Permalink
🐛 Allows assets changing when no path previously (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 authored Nov 8, 2024
1 parent 4d2de12 commit c6720cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ that can be found in the LICENSE file. -->
## Unreleased

*None.*
### Fixes

- Allows assets changing when no path previously.

## 9.3.3

Expand Down
2 changes: 1 addition & 1 deletion lib/src/delegates/asset_picker_builder_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ class DefaultAssetPickerBuilderDelegate
if (assetsChangeRefreshPredicate != null) {
return assetsChangeRefreshPredicate!(permission, call, path);
}
return path?.isAll == true;
return path?.isAll ?? true;
}

if (!predicate()) {
Expand Down

0 comments on commit c6720cd

Please sign in to comment.