diff options
author | Allan Wang <me@allanwang.ca> | 2020-09-27 20:09:52 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-09-27 20:09:52 -0700 |
commit | 8a8e7268a5bfbd0bc0d8ec5058365fb1109ad20f (patch) | |
tree | f6d4ecd0d961b3afccd0a842e1113423fd8b0347 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt | |
parent | 983a3dfa7462316df4dc01b583edf0cbe7a9d606 (diff) | |
download | frost-8a8e7268a5bfbd0bc0d8ec5058365fb1109ad20f.tar.gz frost-8a8e7268a5bfbd0bc0d8ec5058365fb1109ad20f.tar.bz2 frost-8a8e7268a5bfbd0bc0d8ec5058365fb1109ad20f.zip |
Add option to hide feed likes and bottom bar
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.kt | 2 |
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, |