浏览代码

fix(mobile): update useEffect to run on any change instead of only on lead (#3650)

-- this change is mainly for the AlbumInfoListTile widget
Jorge Avila 1 年之前
父节点
当前提交
b790354f9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mobile/lib/modules/backup/ui/album_info_list_tile.dart

+ 1 - 1
mobile/lib/modules/backup/ui/album_info_list_tile.dart

@@ -41,7 +41,7 @@ class AlbumInfoListTile extends HookConsumerWidget {
         albumInfo.assetCount.then((value) => assetCount.value = value);
         albumInfo.assetCount.then((value) => assetCount.value = value);
         return null;
         return null;
       },
       },
-      [],
+      [albumInfo],
     );
     );
 
 
     buildImageFilter() {
     buildImageFilter() {