|
|
|
@ -47,7 +47,7 @@ import io.legado.app.ui.book.read.page.provider.TextPageFactory |
|
|
|
|
import io.legado.app.ui.book.searchContent.SearchContentActivity |
|
|
|
|
import io.legado.app.ui.book.source.edit.BookSourceEditActivity |
|
|
|
|
import io.legado.app.ui.book.toc.TocActivityResult |
|
|
|
|
import io.legado.app.ui.login.SourceLogin |
|
|
|
|
import io.legado.app.ui.login.SourceLoginActivity |
|
|
|
|
import io.legado.app.ui.replace.ReplaceRuleActivity |
|
|
|
|
import io.legado.app.ui.replace.edit.ReplaceEditActivity |
|
|
|
|
import io.legado.app.ui.widget.dialog.TextDialog |
|
|
|
@ -773,7 +773,7 @@ class ReadBookActivity : ReadBookBaseActivity(), |
|
|
|
|
|
|
|
|
|
override fun showLogin() { |
|
|
|
|
ReadBook.webBook?.bookSource?.let { |
|
|
|
|
startActivity<SourceLogin> { |
|
|
|
|
startActivity<SourceLoginActivity> { |
|
|
|
|
putExtra("sourceUrl", it.bookSourceUrl) |
|
|
|
|
putExtra("loginUrl", it.loginUrl) |
|
|
|
|
putExtra("userAgent", it.getHeaderMap()[AppConst.UA_NAME]) |
|
|
|
|