From 4db3aaa4203c608a5a2ec22f5c4aaba937ab171d Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Tue, 4 Mar 2025 19:42:05 +0800 Subject: [PATCH] fix --- dimensionhub/Views/IndexView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dimensionhub/Views/IndexView.swift b/dimensionhub/Views/IndexView.swift index 2d0a89f..eacf427 100644 --- a/dimensionhub/Views/IndexView.swift +++ b/dimensionhub/Views/IndexView.swift @@ -128,7 +128,7 @@ final class IndexModel { self.updateDramaGroups.removeAll() let response = await API.loadDateUpdateDramas(userId: userId, date: date, as: [UpdateDramaGroup].self) if case let .result(groups) = response { - self.updateDramaGroups = preappendMergeDramaGroups(groups: self.updateDramaGroups, mergeGroups: groups) + self.updateDramaGroups = groups } } @@ -406,11 +406,13 @@ extension IndexView { image .resizable() .aspectRatio(contentMode: .fill) + .frame(width: geometry.frame(in: .local).width, height: 80) .clipped() default: Image("ph_img_medium") .resizable() .aspectRatio(contentMode: .fill) + .frame(width: geometry.frame(in: .local).width, height: 80) .clipped() } }