feat(core): spotlight comments username

This commit is contained in:
rhunk
2023-12-28 00:42:01 +01:00
parent 7aa05e996a
commit b378bdde87
6 changed files with 100 additions and 0 deletions

View File

@ -497,6 +497,10 @@
"name": "Block Ads",
"description": "Prevents Advertisements from being displayed"
},
"spotlight_comments_username": {
"name": "Spotlight Comments Username",
"description": "Shows author username in Spotlight comments"
},
"bypass_video_length_restriction": {
"name": "Bypass Video Length Restrictions",
"description": "Single: sends a single video\nSplit: split videos after editing"

View File

@ -14,6 +14,7 @@ class Global : ConfigContainer() {
val disableMetrics = boolean("disable_metrics")
val disablePublicStories = boolean("disable_public_stories") { requireRestart(); requireCleanCache() }
val blockAds = boolean("block_ads")
val spotlightCommentsUsername = boolean("spotlight_comments_username") { requireRestart() }
val bypassVideoLengthRestriction = unique("bypass_video_length_restriction", "split", "single") { addNotices(
FeatureNotice.BAN_RISK); requireRestart(); nativeHooks() }
val disableGooglePlayDialogs = boolean("disable_google_play_dialogs") { requireRestart() }