fix photo cache and setting config

This commit is contained in:
2026-09-26 16:42:24 +08:00
parent 284b9cc028
commit a046790ab0
20 changed files with 243 additions and 145 deletions
@@ -45,6 +45,7 @@ import com.zhushenwudi.lovelivemusicplayer.i18n.tr
import com.zhushenwudi.lovelivemusicplayer.platform.WebViewAdBlock
import java.io.ByteArrayInputStream
import kotlinx.coroutines.delay
import kotlin.time.Duration.Companion.seconds
class WebViewActivity : ComponentActivity() {
private var webView: WebView? = null
@@ -81,7 +82,7 @@ class WebViewActivity : ComponentActivity() {
}
LaunchedEffect(Unit) {
while (true) {
delay(1_000)
delay(1.seconds)
webView?.evaluateJavascript(WebViewAdBlock.domCleanupScript(), null)
}
}