feat(twitch/block-embedded-ads): block-embedded-ads patch support (#1160)

This commit is contained in:
Tim Schneeberger
2022-11-30 15:10:07 +01:00
committed by GitHub
parent b4d8dbcc3d
commit 260b395426
9 changed files with 224 additions and 30 deletions
@@ -173,6 +173,7 @@ class SettingsPatch : BytecodePatch(
val GENERAL = CustomCategory("general", "General settings")
val OTHER = CustomCategory("other", "Other settings")
val CLIENT_SIDE = CustomCategory("client_ads", "Client-side ads")
val SURESTREAM = CustomCategory("surestream_ads", "Server-side surestream ads")
internal inner class CustomCategory(key: String, title: String) : Screen.Category(key, title) {
/* For Twitch, we need to load our CustomPreferenceCategory class instead of the default one. */