diff --git a/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt index e506ec77a..02eb33ede 100644 --- a/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt @@ -45,7 +45,7 @@ class ImportBookActivity : VMBaseActivity() private val adapter by lazy { ImportBookAdapter(this, this) } - private var sdPath = FileUtils.getSdCardPath() + private val sdPath = FileUtils.getSdCardPath() private var path = sdPath private val selectFolder = registerForActivityResult(HandleFileContract()) { it.uri?.let { uri ->