aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-05-23 18:36:41 -0700
committerAllan Wang <me@allanwang.ca>2020-05-23 18:36:41 -0700
commitc7cfb2c8682b223e5949735a015cb920934b36cd (patch)
treefae5c6a5a42e327ea86d91a9397f8e68e76ebea5 /app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
parent7c8e02d385d418ebae1f8f718b72c4170a1bc819 (diff)
downloadfrost-c7cfb2c8682b223e5949735a015cb920934b36cd.tar.gz
frost-c7cfb2c8682b223e5949735a015cb920934b36cd.tar.bz2
frost-c7cfb2c8682b223e5949735a015cb920934b36cd.zip
Create full size image css
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
index 8d4deef8..199e9cfb 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
@@ -26,6 +26,7 @@ import android.webkit.WebView
import ca.allanwang.kau.utils.withAlpha
import com.pitchedapps.frost.facebook.USER_AGENT
import com.pitchedapps.frost.injectors.CssHider
+import com.pitchedapps.frost.injectors.CssSmallAssets
import com.pitchedapps.frost.injectors.jsInject
import com.pitchedapps.frost.utils.L
import com.pitchedapps.frost.utils.Prefs
@@ -116,6 +117,7 @@ class DebugWebView @JvmOverloads constructor(
(url?.contains("?sk=h_chr") ?: false) &&
prefs.aggressiveRecents
),
+ CssSmallAssets.FullSizeImage.maybe(prefs.fullSizeImage),
prefs = prefs
)
}