From 1fa75a1ad9da63a489beb86cab68e47982a3d4fb Mon Sep 17 00:00:00 2001 From: orz12 Date: Tue, 13 Aug 2024 08:40:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=A8=E6=80=81=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=85=A8=E4=BD=93Up=E6=97=B6=EF=BC=8C=E6=9C=AA=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E6=9B=B4=E6=96=B0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/dynamics/controller.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/pages/dynamics/controller.dart b/lib/pages/dynamics/controller.dart index f9346fd56..446d8689a 100644 --- a/lib/pages/dynamics/controller.dart +++ b/lib/pages/dynamics/controller.dart @@ -229,8 +229,8 @@ class DynamicsController extends GetxController face: e.face, mid: e.mid, uname: e.uname, - hasUpdate: - hasUpdatedUps.any((element) => element.mid == e.mid)))); + hasUpdate: hasUpdatedUps.any((element) => + (element.mid == e.mid) && (element.hasUpdate == true))))); allFollowedUpsPage += 1; allFollowedUpsTotal = res['data'].total; upData.value.upList = allFollowedUps; @@ -273,8 +273,8 @@ class DynamicsController extends GetxController face: e.face, mid: e.mid, uname: e.uname, - hasUpdate: - hasUpdatedUps.any((element) => element.mid == e.mid))) + hasUpdate: hasUpdatedUps.any((element) => + (element.mid == e.mid) && (element.hasUpdate == true)))) .toList(); allFollowedUpsPage += 1; allFollowedUpsTotal = ress[1]['data'].total;