aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-03 14:27:04 -0700
committerAllan Wang <me@allanwang.ca>2017-06-03 14:27:04 -0700
commit0f8f6645339d2a1997b9b444f33ee156a91c2010 (patch)
treea8a00cd73bc7761ae318eba5593c98ba963b676d /app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt
parente5a43ed02a8b8a6ae53fc0d3dbfb31e7a2374324 (diff)
downloadfrost-0f8f6645339d2a1997b9b444f33ee156a91c2010.tar.gz
frost-0f8f6645339d2a1997b9b444f33ee156a91c2010.tar.bz2
frost-0f8f6645339d2a1997b9b444f33ee156a91c2010.zip
remap login cookies
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt b/app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt
index e32c01ae..13a8187a 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/events/WebLaunchEvent.kt
@@ -2,10 +2,11 @@ package com.pitchedapps.frost.events
import android.content.Context
import com.pitchedapps.frost.WebOverlayActivity
+import com.pitchedapps.frost.utils.launchWebOverlay
/**
* Created by Allan Wang on 2017-06-01.
*/
class WebLaunchEvent(val url: String) {
- fun execute(context: Context) = WebOverlayActivity.newInstance(context, url)
+ fun execute(context: Context) = context.launchWebOverlay(url)
} \ No newline at end of file