Skip to content

Commit

Permalink
Add thumbnail fetch timestamp to the gql manga type (#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
schroda authored Feb 17, 2024
1 parent 9dc3a4e commit b277b3e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class MangaType(
val url: String,
val title: String,
val thumbnailUrl: String?,
val thumbnailUrlLastFetched: Long?,
val initialized: Boolean,
val artist: String?,
val author: String?,
Expand Down Expand Up @@ -70,6 +71,7 @@ class MangaType(
row[MangaTable.url],
row[MangaTable.title],
row[MangaTable.thumbnail_url]?.let { MangaList.proxyThumbnailUrl(row[MangaTable.id].value) },
row[MangaTable.thumbnailUrlLastFetched],
row[MangaTable.initialized],
row[MangaTable.artist],
row[MangaTable.author],
Expand All @@ -90,6 +92,7 @@ class MangaType(
dataClass.url,
dataClass.title,
dataClass.thumbnailUrl,
dataClass.thumbnailUrlLastFetched,
dataClass.initialized,
dataClass.artist,
dataClass.author,
Expand Down

0 comments on commit b277b3e

Please sign in to comment.