Skip to content

Commit 190c048

Browse files
committed
fix: bump oldest working webview version
opening Statistics or IO results in: "Uncaught (in promise) TypeError: t.replaceAll is not a function", source: http://127.0.0.1:36299/_app/immutable/chunks/D0Kcqh4a.mjs (1) https://caniuse.com/wf-string-replaceall
1 parent cb64d93 commit 190c048

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AnkiDroid/src/main/java/com/ichi2/utils/WebViewUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import com.ichi2.anki.CrashReportService
3131
import com.ichi2.anki.R
3232
import timber.log.Timber
3333

34-
internal const val OLDEST_WORKING_WEBVIEW_VERSION_CODE = 386507305L
35-
internal const val OLDEST_WORKING_WEBVIEW_VERSION = 77
34+
internal const val OLDEST_WORKING_WEBVIEW_VERSION_CODE = 418306960L
35+
internal const val OLDEST_WORKING_WEBVIEW_VERSION = 85
3636

3737
/**
3838
* Shows a dialog if the current WebView version is older than the last supported version.

0 commit comments

Comments
 (0)