diff --git a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt index 72fb8d97b..7874afcec 100644 --- a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt @@ -101,6 +101,9 @@ class ReadRssActivity : VMBaseActivity putExtra("type", "rssSource") putExtra("key", viewModel.rssSource?.loginUrl) } + R.id.menu_browser_open -> binding.webView.url?.let { + openUrl(it) + } ?: toastOnUi("url null") } return super.onCompatOptionsItemSelected(item) } diff --git a/app/src/main/res/menu/rss_read.xml b/app/src/main/res/menu/rss_read.xml index f2c44b0f6..893cbfe1d 100644 --- a/app/src/main/res/menu/rss_read.xml +++ b/app/src/main/res/menu/rss_read.xml @@ -30,4 +30,9 @@ android:title="@string/login" app:showAsAction="never" /> + + \ No newline at end of file