aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.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/DebugWebView.kt
parenta5a786ce27e7a002eb1f7cea344f48a367b5ce9c (diff)
downloadfrost-dev.tar.gz
frost-dev.tar.bz2
frost-dev.zip
Added new “marketplace items” filterdev
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.kt1
1 files changed, 1 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 10a2cf6f..11460ce4 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
@@ -116,6 +116,7 @@ class DebugWebView @JvmOverloads constructor(
if (url.isFacebookUrl)
view.jsInject(
// CssHider.CORE,
+ CssHider.MARKETPLACE_ITEMS.maybe(!prefs.showMarketplaceItems),
CssHider.COMPOSER.maybe(!prefs.showComposer),
CssHider.STORIES.maybe(!prefs.showStories),
CssHider.PEOPLE_YOU_MAY_KNOW.maybe(!prefs.showSuggestedFriends),