fix(core): force upload source quality

- fix app experiment crash
- fix vertical story viewer
This commit is contained in:
rhunk
2023-11-24 22:20:06 +01:00
parent 571c2e6c4f
commit a5d63f96ca
5 changed files with 23 additions and 25 deletions

View File

@ -298,9 +298,9 @@
"name": "Hide Settings Gear",
"description": "Hides the SnapEnhance Settings Gear in friend feed"
},
"story_viewer_override": {
"name": "Story Viewer Override",
"description": "Turns on certain features which Snapchat hid"
"vertical_story_viewer": {
"name": "Vertical Story Viewer",
"description": "Enables the vertical story viewer for all stories"
},
"friend_feed_menu_buttons": {
"name": "Friend Feed Menu Buttons",
@ -444,9 +444,9 @@
"name": "Disable Google Play Services Dialogs",
"description": "Prevent Google Play Services availability dialogs from being shown"
},
"force_media_source_quality": {
"name": "Force Media Source Quality",
"description": "Forces Snapchat's Media Quality to the specified value"
"force_upload_source_quality": {
"name": "Force Upload Source Quality",
"description": "Forces Snapchat to upload media in the original quality\nPlease note that this may not remove metadata from media"
},
"disable_snap_splitting": {
"name": "Disable Snap Splitting",
@ -714,11 +714,6 @@
"hide_stickers_button": "Remove Stickers Button",
"hide_voice_record_button": "Remove Voice Record Button"
},
"story_viewer_override": {
"OFF": "Off",
"DISCOVER_PLAYBACK_SEEKBAR": "Enable Discover Playback Seekbar",
"VERTICAL_STORY_VIEWER": "Enable Vertical Story Viewer"
},
"hide_story_sections": {
"hide_friend_suggestions": "Hide friend suggestions",
"hide_friends": "Hide friends section",

View File

@ -16,6 +16,6 @@ class Global : ConfigContainer() {
val bypassVideoLengthRestriction = unique("bypass_video_length_restriction", "split", "single") { addNotices(
FeatureNotice.BAN_RISK); requireRestart(); nativeHooks() }
val disableGooglePlayDialogs = boolean("disable_google_play_dialogs") { requireRestart() }
val forceMediaSourceQuality = boolean("force_media_source_quality")
val forceUploadSourceQuality = boolean("force_upload_source_quality") { requireRestart() }
val disableSnapSplitting = boolean("disable_snap_splitting") { addNotices(FeatureNotice.INTERNAL_BEHAVIOR) }
}

View File

@ -46,5 +46,5 @@ class UserInterfaceTweaks : ConfigContainer() {
val oldBitmojiSelfie = unique("old_bitmoji_selfie", "2d", "3d") { requireCleanCache() }
val disableSpotlight = boolean("disable_spotlight") { requireRestart() }
val hideSettingsGear = boolean("hide_settings_gear") { requireRestart() }
val storyViewerOverride = unique("story_viewer_override", "DISCOVER_PLAYBACK_SEEKBAR", "VERTICAL_STORY_VIEWER") { requireRestart() }
val verticalStoryViewer = boolean("vertical_story_viewer") { requireRestart() }
}