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-01 20:35:06 -0500
committerIván Ávalos <avalos@disroot.org>2022-07-01 20:35:06 -0500
commit6c6f001fe846efdfea36ba9c19934c4b44d88c15 (patch)
treed1413b30bd20eb01d598665b3e409c363858df64 /app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
parent6bff5dce8807408ab0ee30b36714bc35711a5a30 (diff)
downloadfrost-6c6f001fe846efdfea36ba9c19934c4b44d88c15.tar.gz
frost-6c6f001fe846efdfea36ba9c19934c4b44d88c15.tar.bz2
frost-6c6f001fe846efdfea36ba9c19934c4b44d88c15.zip
Fixed ads filter and added new “suggested posts” filter
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 187e7d4e..10a2cf6f 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt
@@ -120,6 +120,7 @@ class DebugWebView @JvmOverloads constructor(
CssHider.STORIES.maybe(!prefs.showStories),
CssHider.PEOPLE_YOU_MAY_KNOW.maybe(!prefs.showSuggestedFriends),
CssHider.SUGGESTED_GROUPS.maybe(!prefs.showSuggestedGroups),
+ CssHider.SUGGESTED_POSTS.maybe(!prefs.showSuggestedPosts),
themeProvider.injector(ThemeCategory.FACEBOOK),
CssHider.NON_RECENT.maybe(
(url?.contains("?sk=h_chr") ?: false) &&