diff --git a/app/src/main/java/io/legado/app/ui/browser/WebViewActivity.kt b/app/src/main/java/io/legado/app/ui/browser/WebViewActivity.kt index 690ed858a..cc57653fb 100644 --- a/app/src/main/java/io/legado/app/ui/browser/WebViewActivity.kt +++ b/app/src/main/java/io/legado/app/ui/browser/WebViewActivity.kt @@ -93,6 +93,8 @@ class WebViewActivity : VMBaseActivity() { useWideViewPort = true loadWithOverviewMode = true javaScriptEnabled = true + builtInZoomControls = true + displayZoomControls = false headerMap[AppConst.UA_NAME]?.let { userAgentString = it } diff --git a/app/src/main/java/io/legado/app/ui/login/WebViewLoginFragment.kt b/app/src/main/java/io/legado/app/ui/login/WebViewLoginFragment.kt index 9c19605a4..1dcc5bd68 100644 --- a/app/src/main/java/io/legado/app/ui/login/WebViewLoginFragment.kt +++ b/app/src/main/java/io/legado/app/ui/login/WebViewLoginFragment.kt @@ -64,6 +64,7 @@ class WebViewLoginFragment : BaseFragment(R.layout.fragment_web_view_login) { loadWithOverviewMode = true builtInZoomControls = true javaScriptEnabled = true + displayZoomControls = false source.getHeaderMap()[AppConst.UA_NAME]?.let { userAgentString = it } 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 a15a6e95f..b27aeecb2 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 @@ -125,6 +125,7 @@ class ReadRssActivity : VMBaseActivity domStorageEnabled = true allowContentAccess = true builtInZoomControls = true + displayZoomControls = false setDarkeningAllowed(AppConfig.isNightTheme) } binding.webView.addJavascriptInterface(this, "app")