Address some build warnings and cleanup (#1412)

(cherry picked from commit a1c60897916f418726107fec80ad79b2a4b8d500)
This commit is contained in:
AntsyLich
2024-10-31 20:17:27 +06:00
committed by Jobobby04
parent e3dae57e0b
commit a6c6cf77bb
13 changed files with 78 additions and 90 deletions
+4 -3
View File
@@ -7,10 +7,11 @@ plugins {
android {
namespace = "eu.kanade.tachiyomi.core.common"
}
kotlinOptions {
freeCompilerArgs += listOf(
"-Xcontext-receivers",
kotlin {
compilerOptions {
freeCompilerArgs.addAll(
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
)
@@ -73,7 +73,6 @@ fun WebView.setDefaultSettings() {
with(settings) {
javaScriptEnabled = true
domStorageEnabled = true
databaseEnabled = true
useWideViewPort = true
loadWithOverviewMode = true
cacheMode = WebSettings.LOAD_DEFAULT