feat: KFImage를 사용하는 곳에 .cancelOnDisappear(true) 옵션 추가
This commit is contained in:
@@ -20,6 +20,7 @@ struct ContentDetailPreviousNextContentButtonView: View {
|
||||
if let previousContent = previousContent {
|
||||
HStack(alignment: .top, spacing: 5.3) {
|
||||
KFImage(URL(string: previousContent.coverUrl))
|
||||
.cancelOnDisappear(true)
|
||||
.resizable()
|
||||
.frame(width: 33.3, height: 33.3)
|
||||
.cornerRadius(5.3)
|
||||
@@ -58,6 +59,7 @@ struct ContentDetailPreviousNextContentButtonView: View {
|
||||
if let nextContent = nextContent {
|
||||
HStack(alignment: .top, spacing: 5.3) {
|
||||
KFImage(URL(string: nextContent.coverUrl))
|
||||
.cancelOnDisappear(true)
|
||||
.resizable()
|
||||
.frame(width: 33.3, height: 33.3)
|
||||
.cornerRadius(5.3)
|
||||
|
||||
Reference in New Issue
Block a user