File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ class PickMethod {
151
151
final DefaultAssetPickerBuilderDelegate builder =
152
152
picker.builder as DefaultAssetPickerBuilderDelegate ;
153
153
final DefaultAssetPickerProvider p = builder.provider;
154
- await p.currentPath! .refreshPathProperties ();
154
+ p.currentPath =
155
+ await p.currentPath! .obtainForNewProperties ();
155
156
await p.switchPath (p.currentPath! );
156
157
p.selectAsset (result);
157
158
},
Original file line number Diff line number Diff line change @@ -825,9 +825,9 @@ class DefaultAssetPickerBuilderDelegate
825
825
if (! isPermissionLimited) {
826
826
return ;
827
827
}
828
- if (provider.currentPath != null ) {
829
- final AssetPathEntity ? _currentPathEntity = provider.currentPath;
830
- await _currentPathEntity? . refreshPathProperties ();
828
+ final AssetPathEntity ? _currentPathEntity = provider.currentPath;
829
+ if ( _currentPathEntity != null ) {
830
+ provider.currentPath = await _currentPathEntity. obtainForNewProperties ();
831
831
await provider.switchPath (_currentPathEntity);
832
832
isSwitchingPath.value = false ;
833
833
}
Original file line number Diff line number Diff line change @@ -13,6 +13,6 @@ dependencies:
13
13
14
14
extended_image : ^6.0.1
15
15
meta : ^1.7.0
16
- photo_manager : ^2.0.0-dev.3
16
+ photo_manager : ^2.0.0-dev.9
17
17
provider : ^6.0.1
18
18
video_player : ^2.2.14
You can’t perform that action at this time.
0 commit comments