Skip to content

Commit a3d65dd

Browse files
committed
🐛 Fix unlinked path name builder
1 parent 37cfb49 commit a3d65dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/delegates/asset_picker_builder_delegate.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ class DefaultAssetPickerBuilderDelegate
17051705
child: ScaleText(
17061706
isPermissionLimited && p.isAll
17071707
? textDelegate.accessiblePathName
1708-
: p.name,
1708+
: pathNameBuilder?.call(p) ?? p.name,
17091709
style: const TextStyle(
17101710
fontSize: 17,
17111711
fontWeight: FontWeight.normal,
@@ -1715,7 +1715,7 @@ class DefaultAssetPickerBuilderDelegate
17151715
maxScaleFactor: 1.2,
17161716
semanticsLabel: isPermissionLimited && p.isAll
17171717
? semanticsTextDelegate.accessiblePathName
1718-
: p.name,
1718+
: pathNameBuilder?.call(p) ?? p.name,
17191719
),
17201720
),
17211721
w!,

0 commit comments

Comments
 (0)