diff options
author | Allan Wang <me@allanwang.ca> | 2017-10-07 14:46:03 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-10-07 14:46:03 -0400 |
commit | 5a83083c2053438d55a0aa5b3d36691000843bb3 (patch) | |
tree | 4a4fd659be1541f513df611a369cfffa0f2e5aaa /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt | |
parent | 1d9dd79d427bd260af564a3f4d3bf97da29e311e (diff) | |
download | frost-5a83083c2053438d55a0aa5b3d36691000843bb3.tar.gz frost-5a83083c2053438d55a0aa5b3d36691000843bb3.tar.bz2 frost-5a83083c2053438d55a0aa5b3d36691000843bb3.zip |
Add toggles and injectors
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 31aaaa6f..3275b2a6 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt @@ -76,7 +76,9 @@ open class FrostWebViewClient(val webCore: FrostWebViewCore) : BaseWebViewClient CssAssets.ROUND_ICONS.maybe(Prefs.showRoundedIcons), CssHider.HEADER, CssHider.CORE, + CssHider.COMPOSER.maybe(!Prefs.showComposer), CssHider.PEOPLE_YOU_MAY_KNOW.maybe(!Prefs.showSuggestedFriends && IS_FROST_PRO), + CssHider.SUGGESTED_GROUPS.maybe(!Prefs.showSuggestedGroups && IS_FROST_PRO), Prefs.themeInjector, CssHider.NON_RECENT.maybe((webCore.url?.contains("?sk=h_chr") ?: false) && Prefs.aggressiveRecents)) |