aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-07-01 11:54:47 -0700
committerGitHub <noreply@github.com>2019-07-01 11:54:47 -0700
commit35305f7a83daabf535d3fb22938eb5dd68fd2c19 (patch)
treed120c699b17add7d775b11e88b1b147efd39b69f
parent05403e185adcd5ae9829027fb53a134dec6b7d97 (diff)
parent79efcadf89f324f04f57d22c3b60a05fd297f2b9 (diff)
downloadfrost-35305f7a83daabf535d3fb22938eb5dd68fd2c19.tar.gz
frost-35305f7a83daabf535d3fb22938eb5dd68fd2c19.tar.bz2
frost-35305f7a83daabf535d3fb22938eb5dd68fd2c19.zip
Merge pull request #1456 from AllanWang/theme
Theme
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt
index 891a1dbf..18fd0673 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssHider.kt
@@ -38,7 +38,13 @@ enum class CssHider(vararg val items: String) : InjectorContract {
COMPOSER("#MComposer"),
MESSENGER("._s15", "[data-testid=info_panel]", "js_i"),
NON_RECENT("article:not([data-store*=actor_name])"),
- STORIES("#MStoriesTray")
+ STORIES(
+ "#MStoriesTray",
+ // Main article wrapper; this may end up excluding more than just stories
+ "article:not([data-store-id])",
+ // Sub element with just the tray; title is not a part of this
+ "[data-testid=story_tray]"
+ )
;
val injector: JsInjector by lazy {