@ -93,6 +93,8 @@ class WebViewActivity : VMBaseActivity<ActivityWebViewBinding, WebViewModel>() {
useWideViewPort = true
loadWithOverviewMode = true
javaScriptEnabled = true
builtInZoomControls = true
displayZoomControls = false
headerMap[AppConst.UA_NAME]?.let {
userAgentString = it
}
@ -64,6 +64,7 @@ class WebViewLoginFragment : BaseFragment(R.layout.fragment_web_view_login) {
source.getHeaderMap()[AppConst.UA_NAME]?.let {
@ -125,6 +125,7 @@ class ReadRssActivity : VMBaseActivity<ActivityRssReadBinding, ReadRssViewModel>
domStorageEnabled = true
allowContentAccess = true
setDarkeningAllowed(AppConfig.isNightTheme)
binding.webView.addJavascriptInterface(this, "app")