Include source headers when opening failed images from reader (#2004)
(cherry picked from commit fea85241afac5a849aa418d01710f5cdc0c25b54) # Conflicts: # CHANGELOG.md
This commit is contained in:
parent
129f355b9c
commit
b6409b05e7
@ -449,7 +449,9 @@ class PagerPageHolder(
|
||||
if (imageUrl.startsWith("http", true)) {
|
||||
errorLayout?.actionOpenInWebView?.viewer = viewer
|
||||
errorLayout?.actionOpenInWebView?.setOnClickListener {
|
||||
val intent = WebViewActivity.newIntent(context, imageUrl)
|
||||
val sourceId = viewer.activity.viewModel.manga?.source
|
||||
|
||||
val intent = WebViewActivity.newIntent(context, imageUrl, sourceId)
|
||||
context.startActivity(intent)
|
||||
}
|
||||
}
|
||||
|
@ -292,7 +292,9 @@ class WebtoonPageHolder(
|
||||
if (imageUrl != null) {
|
||||
if (imageUrl.startsWith("http", true)) {
|
||||
errorLayout?.actionOpenInWebView?.setOnClickListener {
|
||||
val intent = WebViewActivity.newIntent(context, imageUrl)
|
||||
val sourceId = viewer.activity.viewModel.manga?.source
|
||||
|
||||
val intent = WebViewActivity.newIntent(context, imageUrl, sourceId)
|
||||
context.startActivity(intent)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user