Skip to content

Commit c717893

Browse files
authored
fix(webview): drop allowFileAccessFromFileURLs and unneeded allowFileAccess in WebViewLayout (#1277)
1 parent 19d4973 commit c717893

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/src/main/java/me/ash/reader/ui/component/webview/WebViewLayout.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,10 @@ object WebViewLayout {
3030
ReadingFontsPreference.SansSerif -> "sans-serif"
3131
ReadingFontsPreference.Serif -> "serif"
3232
ReadingFontsPreference.GoogleSans -> {
33-
allowFileAccess = true
34-
allowFileAccessFromFileURLs = true
3533
"sans-serif"
3634
}
3735
ReadingFontsPreference.External -> {
3836
allowFileAccess = true
39-
allowFileAccessFromFileURLs = true
4037
"sans-serif"
4138
}
4239

0 commit comments

Comments
 (0)