diff options
author | Allan Wang <me@allanwang.ca> | 2017-09-16 18:18:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-16 18:18:28 -0400 |
commit | 5e9ed54c90f994f99deb105d57f4d5b3ca1db8cd (patch) | |
tree | 42419a2b276410a8f6e501ae1bb88ad54af78439 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt | |
parent | 43946902504c1aa5c1217e3fe802697566db4c03 (diff) | |
download | frost-5e9ed54c90f994f99deb105d57f4d5b3ca1db8cd.tar.gz frost-5e9ed54c90f994f99deb105d57f4d5b3ca1db8cd.tar.bz2 frost-5e9ed54c90f994f99deb105d57f4d5b3ca1db8cd.zip |
Fix/messaging overlay (#291)
* Create base switcher
* Add intent blacklist
* Revert extra overlay
* Add user agent enum
* Test per link user agents
* Test extra overlays once again
* Fix up messaging overlays
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt index c7232fe3..93d5c773 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt @@ -33,7 +33,7 @@ class FrostJSI(val webView: FrostWebViewCore) { */ @JavascriptInterface fun loadUrl(url: String?): Boolean - = if (url == null) false else context.requestWebOverlay(url) + = if (url == null) false else webView.requestWebOverlay(url) @JavascriptInterface fun reloadBaseUrl(animate: Boolean) { |