aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-12-30 11:52:40 -0800
committerAllan Wang <me@allanwang.ca>2019-12-30 11:52:40 -0800
commit999e87a8c879d8112e62baf45cbe4e876d35b9cc (patch)
tree412b0945bf53e5d28bc185f7454a52d74d77d992 /app/src
parent2d26966f58b0688f5a489dca5b96bcdd93e1bdc2 (diff)
downloadfrost-999e87a8c879d8112e62baf45cbe4e876d35b9cc.tar.gz
frost-999e87a8c879d8112e62baf45cbe4e876d35b9cc.tar.bz2
frost-999e87a8c879d8112e62baf45cbe4e876d35b9cc.zip
Open formatted url from context, addresses #1598
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/WebContextMenu.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/WebContextMenu.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/WebContextMenu.kt
index becc9f02..61e2c11f 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/WebContextMenu.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/WebContextMenu.kt
@@ -70,7 +70,7 @@ enum class WebContextType(
OPEN_LINK(
R.string.open_link,
{ it.hasUrl },
- { c, wc -> c.launchWebOverlay(wc.unformattedUrl!!) }),
+ { c, wc -> c.launchWebOverlay(wc.url!!) }),
COPY_LINK(R.string.copy_link, { it.hasUrl }, { c, wc -> c.copyToClipboard(wc.url) }),
COPY_TEXT(R.string.copy_text, { it.hasText }, { c, wc -> c.copyToClipboard(wc.text) }),
SHARE_LINK(R.string.share_link, { it.hasUrl }, { c, wc -> c.shareText(wc.url) }),