aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-14 23:39:05 -0700
committerAllan Wang <me@allanwang.ca>2017-06-14 23:39:05 -0700
commit610c37698ab93b8d51efcaec9f721292cacfd854 (patch)
tree2bb97be0f43aa5c5d64237e61dc628938e7350b5 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt
parentfbbc92e4c98a30e107fb2a63887f8b6d20bffabb (diff)
downloadfrost-610c37698ab93b8d51efcaec9f721292cacfd854.tar.gz
frost-610c37698ab93b8d51efcaec9f721292cacfd854.tar.bz2
frost-610c37698ab93b8d51efcaec9f721292cacfd854.zip
Create notification service framework
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt
index 4845f553..1ae17cde 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt
@@ -61,7 +61,9 @@ open class FrostWebViewClient(val refreshObservable: Subject<Boolean>) : WebView
internal fun onPageFinishedReveal(view: FrostWebViewCore, animate: Boolean) {
L.d("Page finished reveal")
- view.jsInject(CssHider.HEADER, CssAssets.MATERIAL_DARK, callback = {
+ view.jsInject(CssHider.HEADER,
+// CssAssets.MATERIAL_DARK,
+ callback = {
L.d("Finished ${it.contentToString()}")
refreshObservable.onNext(false)
if (animate) view.circularReveal(offset = 150L)