Update sqldelight to v2.4.0 (#3985)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
+4
-6
@@ -13,8 +13,6 @@ import eu.kanade.tachiyomi.data.backup.models.BackupTracking
|
|||||||
import kotlinx.datetime.TimeZone
|
import kotlinx.datetime.TimeZone
|
||||||
import kotlinx.datetime.toLocalDateTime
|
import kotlinx.datetime.toLocalDateTime
|
||||||
import tachiyomi.data.Database
|
import tachiyomi.data.Database
|
||||||
import tachiyomi.data.MemoColumnAdapter
|
|
||||||
import tachiyomi.data.UpdateStrategyColumnAdapter
|
|
||||||
import tachiyomi.domain.category.interactor.GetCategories
|
import tachiyomi.domain.category.interactor.GetCategories
|
||||||
import tachiyomi.domain.chapter.interactor.GetChaptersByMangaId
|
import tachiyomi.domain.chapter.interactor.GetChaptersByMangaId
|
||||||
import tachiyomi.domain.chapter.model.Chapter
|
import tachiyomi.domain.chapter.model.Chapter
|
||||||
@@ -115,7 +113,7 @@ class MangaRestorer(
|
|||||||
artist = manga.artist,
|
artist = manga.artist,
|
||||||
author = manga.author,
|
author = manga.author,
|
||||||
description = manga.description,
|
description = manga.description,
|
||||||
genre = manga.genre?.joinToString(separator = ", "),
|
genre = manga.genre,
|
||||||
title = manga.title,
|
title = manga.title,
|
||||||
status = manga.status,
|
status = manga.status,
|
||||||
thumbnailUrl = manga.thumbnailUrl,
|
thumbnailUrl = manga.thumbnailUrl,
|
||||||
@@ -129,11 +127,11 @@ class MangaRestorer(
|
|||||||
coverLastModified = manga.coverLastModified,
|
coverLastModified = manga.coverLastModified,
|
||||||
dateAdded = manga.dateAdded,
|
dateAdded = manga.dateAdded,
|
||||||
mangaId = manga.id,
|
mangaId = manga.id,
|
||||||
updateStrategy = manga.updateStrategy.let(UpdateStrategyColumnAdapter::encode),
|
updateStrategy = manga.updateStrategy,
|
||||||
version = manga.version,
|
version = manga.version,
|
||||||
isSyncing = 1,
|
isSyncing = 1,
|
||||||
notes = manga.notes,
|
notes = manga.notes,
|
||||||
memo = manga.memo.let(MemoColumnAdapter::encode),
|
memo = manga.memo,
|
||||||
)
|
)
|
||||||
return manga
|
return manga
|
||||||
}
|
}
|
||||||
@@ -231,7 +229,7 @@ class MangaRestorer(
|
|||||||
chapterId = chapter.id,
|
chapterId = chapter.id,
|
||||||
version = chapter.version,
|
version = chapter.version,
|
||||||
isSyncing = 0,
|
isSyncing = 0,
|
||||||
memo = chapter.memo.let(MemoColumnAdapter::encode),
|
memo = chapter.memo,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import logcat.LogPriority
|
|||||||
import tachiyomi.core.common.util.lang.toLong
|
import tachiyomi.core.common.util.lang.toLong
|
||||||
import tachiyomi.core.common.util.system.logcat
|
import tachiyomi.core.common.util.system.logcat
|
||||||
import tachiyomi.data.Database
|
import tachiyomi.data.Database
|
||||||
import tachiyomi.data.MemoColumnAdapter
|
|
||||||
import tachiyomi.data.subscribeToList
|
import tachiyomi.data.subscribeToList
|
||||||
import tachiyomi.domain.chapter.model.Chapter
|
import tachiyomi.domain.chapter.model.Chapter
|
||||||
import tachiyomi.domain.chapter.model.ChapterUpdate
|
import tachiyomi.domain.chapter.model.ChapterUpdate
|
||||||
@@ -81,7 +80,7 @@ class ChapterRepositoryImpl(
|
|||||||
chapterId = chapterUpdate.id,
|
chapterId = chapterUpdate.id,
|
||||||
version = chapterUpdate.version,
|
version = chapterUpdate.version,
|
||||||
isSyncing = 0,
|
isSyncing = 0,
|
||||||
memo = chapterUpdate.memo?.let(MemoColumnAdapter::encode),
|
memo = chapterUpdate.memo,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,9 +14,6 @@ import kotlinx.datetime.toLocalDateTime
|
|||||||
import logcat.LogPriority
|
import logcat.LogPriority
|
||||||
import tachiyomi.core.common.util.system.logcat
|
import tachiyomi.core.common.util.system.logcat
|
||||||
import tachiyomi.data.Database
|
import tachiyomi.data.Database
|
||||||
import tachiyomi.data.MemoColumnAdapter
|
|
||||||
import tachiyomi.data.StringListColumnAdapter
|
|
||||||
import tachiyomi.data.UpdateStrategyColumnAdapter
|
|
||||||
import tachiyomi.data.subscribeToList
|
import tachiyomi.data.subscribeToList
|
||||||
import tachiyomi.data.subscribeToOne
|
import tachiyomi.data.subscribeToOne
|
||||||
import tachiyomi.data.subscribeToOneOrNull
|
import tachiyomi.data.subscribeToOneOrNull
|
||||||
@@ -198,7 +195,7 @@ class MangaRepositoryImpl(
|
|||||||
artist = value.artist,
|
artist = value.artist,
|
||||||
author = value.author,
|
author = value.author,
|
||||||
description = value.description,
|
description = value.description,
|
||||||
genre = value.genre?.let(StringListColumnAdapter::encode),
|
genre = value.genre,
|
||||||
title = value.title,
|
title = value.title,
|
||||||
status = value.status,
|
status = value.status,
|
||||||
thumbnailUrl = value.thumbnailUrl,
|
thumbnailUrl = value.thumbnailUrl,
|
||||||
@@ -212,11 +209,11 @@ class MangaRepositoryImpl(
|
|||||||
coverLastModified = value.coverLastModified,
|
coverLastModified = value.coverLastModified,
|
||||||
dateAdded = value.dateAdded,
|
dateAdded = value.dateAdded,
|
||||||
mangaId = value.id,
|
mangaId = value.id,
|
||||||
updateStrategy = value.updateStrategy?.let(UpdateStrategyColumnAdapter::encode),
|
updateStrategy = value.updateStrategy,
|
||||||
version = value.version,
|
version = value.version,
|
||||||
isSyncing = 0,
|
isSyncing = 0,
|
||||||
notes = value.notes,
|
notes = value.notes,
|
||||||
memo = value.memo?.let(MemoColumnAdapter::encode),
|
memo = value.memo,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ reorderable = "3.1.0"
|
|||||||
rxJava = "1.3.8"
|
rxJava = "1.3.8"
|
||||||
shizuku = "13.1.5"
|
shizuku = "13.1.5"
|
||||||
spotless = "8.10.2"
|
spotless = "8.10.2"
|
||||||
sqldelight = "2.3.2"
|
sqldelight = "2.4.0"
|
||||||
sqldelight-androidx-driver = "0.2.2"
|
sqldelight-androidx-driver = "0.2.2"
|
||||||
stringSimilarity = "0.1.0"
|
stringSimilarity = "0.1.0"
|
||||||
subsamplingScaleImageView = "94915e6f73"
|
subsamplingScaleImageView = "94915e6f73"
|
||||||
|
|||||||
Reference in New Issue
Block a user