feat: story features

- disable rewatch indicator
- disable public stories
This commit is contained in:
rhunk
2023-11-22 00:02:18 +01:00
parent 7d4963770d
commit e9b9a71a7e
9 changed files with 157 additions and 31 deletions

View File

@ -324,6 +324,10 @@
"name": "Anonymous Story Viewing",
"description": "Prevents anyone from knowing you've seen their story"
},
"prevent_story_rewatch_indicator": {
"name": "Prevent Story Rewatch Indicator",
"description": "Prevents anyone from knowing you've rewatched their story"
},
"hide_peek_a_peek": {
"name": "Hide Peek-a-Peek",
"description": "Prevents notification from being sent when you half swipe into a chat"
@ -420,6 +424,10 @@
"name": "Disable Metrics",
"description": "Blocks sending specific analytic data to Snapchat"
},
"disable_public_stories": {
"name": "Disable Public Stories",
"description": "Removes every public story from the Discover page\nMay require a clean cache to work properly"
},
"block_ads": {
"name": "Block Ads",
"description": "Prevents Advertisements from being displayed"

View File

@ -11,6 +11,7 @@ class Global : ConfigContainer() {
val snapchatPlus = boolean("snapchat_plus") { requireRestart() }
val disableConfirmationDialogs = multiple("disable_confirmation_dialogs", "remove_friend", "block_friend", "ignore_friend", "hide_friend", "hide_conversation", "clear_conversation") { requireRestart() }
val disableMetrics = boolean("disable_metrics")
val disablePublicStories = boolean("disable_public_stories") { requireRestart(); requireCleanCache() }
val blockAds = boolean("block_ads")
val bypassVideoLengthRestriction = unique("bypass_video_length_restriction", "split", "single") { addNotices(
FeatureNotice.BAN_RISK); requireRestart(); nativeHooks() }

View File

@ -7,6 +7,7 @@ import me.rhunk.snapenhance.common.data.NotificationType
class MessagingTweaks : ConfigContainer() {
val bypassScreenshotDetection = boolean("bypass_screenshot_detection") { requireRestart() }
val anonymousStoryViewing = boolean("anonymous_story_viewing")
val preventStoryRewatchIndicator = boolean("prevent_story_rewatch_indicator") { requireRestart() }
val hidePeekAPeek = boolean("hide_peek_a_peek")
val hideBitmojiPresence = boolean("hide_bitmoji_presence")
val hideTypingNotifications = boolean("hide_typing_notifications")