Skip to content

Commit f2a914f

Browse files
committed
🔥 Remove path entity properties refresh.
1 parent 798fa89 commit f2a914f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/src/provider/asset_picker_provider.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ class AssetPickerProvider extends ChangeNotifier {
228228
/// Set first path entity as current path entity.
229229
if (_pathEntityList.isNotEmpty) {
230230
_currentPathEntity ??= pathEntityList.keys.elementAt(0);
231-
await _currentPathEntity.refreshPathProperties();
232231
}
233232
}
234233

@@ -237,7 +236,6 @@ class AssetPickerProvider extends ChangeNotifier {
237236
Future<void> getAssetList() async {
238237
if (_pathEntityList.isNotEmpty) {
239238
_currentPathEntity = pathEntityList.keys.elementAt(0);
240-
await _currentPathEntity.refreshPathProperties();
241239
totalAssetsCount = currentPathEntity.assetCount;
242240
getAssetsFromEntity(0, currentPathEntity);
243241
// Update total assets count.

0 commit comments

Comments
 (0)