mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
去除无用引用
This commit is contained in:
@@ -2,7 +2,6 @@ package io.legado.app.data.entities
|
||||
|
||||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
import io.legado.app.utils.GSON
|
||||
|
||||
|
||||
@Entity(tableName = "txtTocRules")
|
||||
|
||||
@@ -3,7 +3,6 @@ package io.legado.app.model
|
||||
import android.content.Context
|
||||
import io.legado.app.R
|
||||
import io.legado.app.constant.IntentAction
|
||||
import io.legado.app.data.entities.BookSource
|
||||
import io.legado.app.data.entities.BookSourcePart
|
||||
import io.legado.app.help.CacheManager
|
||||
import io.legado.app.help.IntentData
|
||||
|
||||
@@ -24,7 +24,6 @@ import io.legado.app.model.analyzeRule.AnalyzeUrl
|
||||
import io.legado.app.utils.*
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import org.apache.commons.text.StringEscapeUtils
|
||||
import org.jsoup.nodes.Entities
|
||||
import splitties.init.appCtx
|
||||
import java.io.*
|
||||
import java.util.regex.Pattern
|
||||
|
||||
@@ -5,8 +5,6 @@ import io.legado.app.data.entities.BookChapter
|
||||
import io.legado.app.utils.*
|
||||
import me.ag2s.umdlib.domain.UmdBook
|
||||
import me.ag2s.umdlib.umd.UmdReader
|
||||
import splitties.init.appCtx
|
||||
|
||||
import java.io.File
|
||||
import java.io.InputStream
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@ import io.legado.app.utils.HtmlFormatter
|
||||
import io.legado.app.utils.MD5Utils
|
||||
import io.legado.app.utils.NetworkUtils
|
||||
import io.legado.app.utils.activityPendingIntent
|
||||
import io.legado.app.utils.buildMainHandler
|
||||
import io.legado.app.utils.cnCompare
|
||||
import io.legado.app.utils.createFolderIfNotExist
|
||||
import io.legado.app.utils.isContentScheme
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
package io.legado.app.ui.book.read.page.entities
|
||||
|
||||
import android.graphics.Paint.FontMetrics
|
||||
import android.text.TextPaint
|
||||
import androidx.annotation.Keep
|
||||
import io.legado.app.ui.book.read.page.entities.column.BaseColumn
|
||||
import io.legado.app.ui.book.read.page.provider.ChapterProvider
|
||||
import io.legado.app.utils.textHeight
|
||||
|
||||
/**
|
||||
* 行信息
|
||||
|
||||
@@ -3,7 +3,6 @@ package io.legado.app.ui.book.read.page.entities.column
|
||||
import android.graphics.Canvas
|
||||
import android.graphics.Paint
|
||||
import android.graphics.Path
|
||||
import android.text.StaticLayout
|
||||
import androidx.annotation.Keep
|
||||
import io.legado.app.ui.book.read.page.provider.ChapterProvider
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ import androidx.recyclerview.widget.RecyclerView
|
||||
import io.legado.app.R
|
||||
import io.legado.app.base.adapter.ItemViewHolder
|
||||
import io.legado.app.base.adapter.RecyclerAdapter
|
||||
import io.legado.app.data.entities.ReplaceRule
|
||||
import io.legado.app.data.entities.TxtTocRule
|
||||
import io.legado.app.databinding.ItemTxtTocRuleBinding
|
||||
import io.legado.app.lib.theme.backgroundColor
|
||||
|
||||
Reference in New Issue
Block a user