本地书籍无权限则保存到自己选定的文件夹

pull/1486/head
gedoor 3 years ago
parent cdd5a34867
commit 0718c308da
  1. 3
      app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt
  2. 5
      app/src/main/res/menu/rss_read.xml

@ -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"
app:showAsAction="never" />
</menu>
Loading…
Cancel
Save