Properly bind track privately (#1534)

In case the track was read from the TrackSearchTable the private status was never applied
This commit is contained in:
schroda
2025-07-20 22:59:48 +02:00
committed by GitHub
parent d81a4e0b7f
commit 5057a57f7f
@@ -176,11 +176,11 @@ object Track {
(TrackRecordTable.remoteId eq remoteId)
}.first()
.toTrack()
.apply {
this.manga_id = mangaId
this.private = private
}
}.apply {
this.manga_id = mangaId
this.private = private
}
val tracker = TrackerManager.getTracker(trackerId)!!
val chapter = queryMaxReadChapter(mangaId)