Skip to content

Commit 46b023e

Browse files
committed
chore: remove deprecation
1 parent 1799915 commit 46b023e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webview/index.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function initializeWebViewClient(): void {
190190

191191
const javaFile = new java.io.File(tnsFile.path);
192192
const stream = new java.io.FileInputStream(javaFile);
193-
const ext = tnsFile.extension.substr(1).toLowerCase();
193+
const ext = tnsFile.extension.substring(1).toLowerCase();
194194
const mimeType = extToMimeType.get(ext) || 'application/octet-stream';
195195
const encoding = extToBinaryEncoding.has(ext) || mimeType === 'application/octet-stream' ? 'binary' : 'UTF-8';
196196

0 commit comments

Comments
 (0)