Skip to content

Commit

Permalink
fix(android): fix unresolved reference in kotlin files (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Apr 19, 2023
1 parent 6ef820b commit ed36c0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/android-rustwebview-unresolved-ref.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wry": "patch"
---

Fix unresolved reference in kotlin files when building for android.
2 changes: 1 addition & 1 deletion src/webview/android/kotlin/RustWebView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class RustWebView(context: Context): WebView(context) {
super.clearCache(true);
super.clearHistory();
super.clearFormData();
} catch (ignore: Exception) {
} catch (ex: Exception) {
Logger.error("Unable to create temporary media capture file: " + ex.message)
}
}
Expand Down

0 comments on commit ed36c0b

Please sign in to comment.