feat(ios): tab tabanlı navigasyon ve okuma durumu takibi ekle
This commit is contained in:
@@ -37,7 +37,9 @@ final class BookDetailViewModel: ObservableObject {
|
||||
summary: book.description,
|
||||
language: book.language,
|
||||
sourceLocale: book.sourceLocale,
|
||||
remotePayloadJson: nil
|
||||
remotePayloadJson: nil,
|
||||
statusRaw: (book.readingStatus ?? .wantToRead).rawValue,
|
||||
readingProgress: book.readingProgress ?? 0
|
||||
)
|
||||
context.insert(local)
|
||||
isInLibrary = true
|
||||
|
||||
@@ -55,7 +55,9 @@ final class HomeViewModel: ObservableObject {
|
||||
language: local.language,
|
||||
description: local.summary,
|
||||
categories: local.categories,
|
||||
sourceLocale: local.sourceLocale
|
||||
sourceLocale: local.sourceLocale,
|
||||
readingStatus: local.status,
|
||||
readingProgress: local.readingProgressValue
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user