优化
This commit is contained in:
+1
-1
@@ -197,7 +197,7 @@ dependencies {
|
|||||||
implementation("androidx.room:room-runtime:$room_version")
|
implementation("androidx.room:room-runtime:$room_version")
|
||||||
implementation("androidx.room:room-ktx:$room_version")
|
implementation("androidx.room:room-ktx:$room_version")
|
||||||
kapt("androidx.room:room-compiler:$room_version")
|
kapt("androidx.room:room-compiler:$room_version")
|
||||||
testImplementation("androidx.room:room-testing:$room_version")
|
androidTestImplementation("androidx.room:room-testing:$room_version")
|
||||||
|
|
||||||
//liveEventBus
|
//liveEventBus
|
||||||
implementation('io.github.jeremyliao:live-event-bus-x:1.8.0')
|
implementation('io.github.jeremyliao:live-event-bus-x:1.8.0')
|
||||||
|
|||||||
@@ -505,10 +505,10 @@ object ChapterProvider {
|
|||||||
srcList != null && char == srcReplaceChar -> {
|
srcList != null && char == srcReplaceChar -> {
|
||||||
val src = srcList.removeFirst()
|
val src = srcList.removeFirst()
|
||||||
ImageProvider.cacheImage(book, src, ReadBook.bookSource)
|
ImageProvider.cacheImage(book, src, ReadBook.bookSource)
|
||||||
TextColumn(
|
ImageColumn(
|
||||||
start = absStartX + xStart,
|
start = absStartX + xStart,
|
||||||
end = absStartX + xEnd,
|
end = absStartX + xEnd,
|
||||||
charData = src
|
src = src
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
isLineEnd && char == reviewChar -> {
|
isLineEnd && char == reviewChar -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user