aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-10-03 20:47:36 -0700
committerGitHub <noreply@github.com>2020-10-03 20:47:36 -0700
commit019067430fce1fdd6cc4ff0a4e63937927de2c17 (patch)
tree7e829176cb262d21e286449cb0df4c7145a23f90 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
parent96812d2b83b81c0f9c48c7812d2600788a21eeec (diff)
parent23b619c5398312f370441acbcb57a7f0627b148d (diff)
downloadfrost-019067430fce1fdd6cc4ff0a4e63937927de2c17.tar.gz
frost-019067430fce1fdd6cc4ff0a4e63937927de2c17.tar.bz2
frost-019067430fce1fdd6cc4ff0a4e63937927de2c17.zip
Merge pull request #1716 from AllanWang/feed-options
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
index e2171896..5826f383 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
@@ -130,6 +130,8 @@ open class FrostWebViewClient(val web: FrostWebView) : BaseWebViewClient() {
prefs.aggressiveRecents
),
CssHider.ADS.maybe(!prefs.showFacebookAds),
+ CssHider.POST_ACTIONS.maybe(!prefs.showPostActions),
+ CssHider.POST_REACTIONS.maybe(!prefs.showPostReactions),
CssSmallAssets.FullSizeImage.maybe(prefs.fullSizeImage),
JsAssets.DOCUMENT_WATCHER,
JsAssets.HORIZONTAL_SCROLLING,