Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix: Pass prefix value

Neeraj Gupta5a8f8b844907
diff --git a/mobile/lib/ui/settings/pending_sync/path_info_storage_viewer.dart b/mobile/lib/ui/settings/pending_sync/path_info_storage_viewer.dart
index 9dedce59fb..d065ba78f7 100644
--- a/mobile/lib/ui/settings/pending_sync/path_info_storage_viewer.dart
+++ b/mobile/lib/ui/settings/pending_sync/path_info_storage_viewer.dart
@@ -59,7 +59,10 @@ class _PathInfoStorageViewerState extends State<PathInfoStorageViewer> {
@override
Widget build(BuildContext context) {
return FutureBuilder<DirectoryStat>(
- future: getDirectoryStat(Directory(widget.item.path)),
+ future: getDirectoryStat(
+ Directory(widget.item.path),
+ prefix: widget.item.match,
+ ),
builder: (context, snapshot) {
if (snapshot.hasData) {
return _buildMenuItemWidget(snapshot.data, null);