aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-09-28 23:46:52 -0700
committerGitHub <noreply@github.com>2019-09-28 23:46:52 -0700
commit08a0bbe6e921f411e04a13c4fdc1282cf9fb4221 (patch)
tree58dec3f2e3cd977fe99a18aef93d78d09fc4c892 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
parenteb5e83cdadc348eea8d76d6778f18850444783d1 (diff)
parentb82fadbff34ced9193f7b95e0d46dda5c33e9e08 (diff)
downloadfrost-08a0bbe6e921f411e04a13c4fdc1282cf9fb4221.tar.gz
frost-08a0bbe6e921f411e04a13c4fdc1282cf9fb4221.tar.bz2
frost-08a0bbe6e921f411e04a13c4fdc1282cf9fb4221.zip
Merge pull request #1555 from AllanWang/system-flag-color
Update system flag color
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.kt2
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 449e98f1..187ab9eb 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
@@ -78,7 +78,7 @@ class FrostJSI(val web: FrostWebView) {
@JavascriptInterface
fun contextMenu(url: String?, text: String?) {
- //url will be formatted through webcontext
+ // url will be formatted through webcontext
web.post { context.showWebContextMenu(WebContext(url.takeIf { it.isIndependent }, text)) }
}