Skip to content

Commit

Permalink
fix: 🐛 修复分页图片无法加载的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg886 committed Dec 15, 2024
1 parent e766cdb commit e1a27b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class NovelDetailViewModel(val id: Long) : ViewModel(), ScreenModel,
val illust = client.getIllustDetail(i.id.toLong())
nodeMap[index] = NovelNodeElement.PixivImage(
illust,
illust.contentImages[IllustImagesType.MEDIUM]?.get(0)!!
illust.contentImages[IllustImagesType.MEDIUM]?.get(i.index)!!
)
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ kotlinxSerializationJson = "1.7.3"
kxml2 = "2.3.0"
multiplatformSettings = "1.2.0"
orbitCore = "9.0.0"
pixko = "1.8"
pixko = "1.9"
room = "2.7.0-alpha11"
sketchCompose = "4.0.0-alpha08"
sqliteBundled = "2.5.0-alpha11"
Expand Down

0 comments on commit e1a27b9

Please sign in to comment.