aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-07-04 22:13:56 -0500
committerIván Ávalos <avalos@disroot.org>2022-07-04 22:13:56 -0500
commit76b26e3d7aad8f6f48cdfb3e196be5143c3c0887 (patch)
treeb169107c934de4836f94658d03be4498fab0d2b9 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
parenta5a786ce27e7a002eb1f7cea344f48a367b5ce9c (diff)
downloadfrost-76b26e3d7aad8f6f48cdfb3e196be5143c3c0887.tar.gz
frost-76b26e3d7aad8f6f48cdfb3e196be5143c3c0887.tar.bz2
frost-76b26e3d7aad8f6f48cdfb3e196be5143c3c0887.zip
Added new “marketplace items” filterdev
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.kt1
1 files changed, 1 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 95601236..a2ea000f 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
@@ -129,6 +129,7 @@ open class FrostWebViewClient(val web: FrostWebView) : BaseWebViewClient() {
prefs.aggressiveRecents
),
CssHider.ADS.maybe(!prefs.showFacebookAds),
+ CssHider.MARKETPLACE_ITEMS.maybe(!prefs.showMarketplaceItems),
CssHider.POST_ACTIONS.maybe(!prefs.showPostActions),
CssHider.POST_REACTIONS.maybe(!prefs.showPostReactions),
CssAsset.FullSizeImage.maybe(prefs.fullSizeImage),