We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1799915 commit 46b023eCopy full SHA for 46b023e
src/webview/index.android.ts
@@ -190,7 +190,7 @@ function initializeWebViewClient(): void {
190
191
const javaFile = new java.io.File(tnsFile.path);
192
const stream = new java.io.FileInputStream(javaFile);
193
- const ext = tnsFile.extension.substr(1).toLowerCase();
+ const ext = tnsFile.extension.substring(1).toLowerCase();
194
const mimeType = extToMimeType.get(ext) || 'application/octet-stream';
195
const encoding = extToBinaryEncoding.has(ext) || mimeType === 'application/octet-stream' ? 'binary' : 'UTF-8';
196
0 commit comments