@ -101,6 +101,9 @@ class ReadRssActivity : VMBaseActivity<ActivityRssReadBinding, ReadRssViewModel>
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)
@ -30,4 +30,9 @@
android:title="@string/login"
app:showAsAction="never" />
<item
android:id="@+id/menu_browser_open"
android:title="@string/open_in_browser"
</menu>