fix
This commit is contained in:
parent
a497280270
commit
4db3aaa420
@ -128,7 +128,7 @@ final class IndexModel {
|
|||||||
self.updateDramaGroups.removeAll()
|
self.updateDramaGroups.removeAll()
|
||||||
let response = await API.loadDateUpdateDramas(userId: userId, date: date, as: [UpdateDramaGroup].self)
|
let response = await API.loadDateUpdateDramas(userId: userId, date: date, as: [UpdateDramaGroup].self)
|
||||||
if case let .result(groups) = response {
|
if case let .result(groups) = response {
|
||||||
self.updateDramaGroups = preappendMergeDramaGroups(groups: self.updateDramaGroups, mergeGroups: groups)
|
self.updateDramaGroups = groups
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -406,11 +406,13 @@ extension IndexView {
|
|||||||
image
|
image
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fill)
|
.aspectRatio(contentMode: .fill)
|
||||||
|
.frame(width: geometry.frame(in: .local).width, height: 80)
|
||||||
.clipped()
|
.clipped()
|
||||||
default:
|
default:
|
||||||
Image("ph_img_medium")
|
Image("ph_img_medium")
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fill)
|
.aspectRatio(contentMode: .fill)
|
||||||
|
.frame(width: geometry.frame(in: .local).width, height: 80)
|
||||||
.clipped()
|
.clipped()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user