[skip ci] add comments and use LF
This commit is contained in:
@@ -23,6 +23,14 @@ import io.legado.app.ui.book.read.ReadBookActivity
|
||||
import io.legado.app.utils.*
|
||||
import io.legado.app.utils.viewbindingdelegate.viewBinding
|
||||
|
||||
/**
|
||||
* 添加书籍链接到书架,需要对应网站书源
|
||||
* ${origin}/${path}, {origin: bookSourceUrl}
|
||||
* 按以下顺序尝试匹配书源并添加网址
|
||||
* - UrlOption中的指定的书源网址bookSourceUrl
|
||||
* - 在所有启用的书源中匹配orgin
|
||||
* - 在所有启用的书源中使用详情页正则匹配${origin}/${path}, {origin: bookSourceUrl}
|
||||
*/
|
||||
class AddToBookshelfDialog() : BaseDialogFragment(R.layout.dialog_add_to_bookshelf) {
|
||||
|
||||
constructor(bookUrl: String, finishOnDismiss: Boolean = false) : this() {
|
||||
|
||||
Reference in New Issue
Block a user