fix
This commit is contained in:
parent
a497280270
commit
4db3aaa420
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user