feat(core/ui): hide settings gear option

This commit is contained in:
rhunk
2023-11-18 11:06:22 +01:00
parent d147dc5ce0
commit f16eb3a009
3 changed files with 5 additions and 3 deletions

View File

@ -290,9 +290,9 @@
"name": "Disable Spotlight",
"description": "Disables the Spotlight page"
},
"startup_tab": {
"name": "Startup Tab",
"description": "Change the tab that opens on startup"
"hide_settings_gear": {
"name": "Hide Settings Gear",
"description": "Hides the SnapEnhance Settings Gear in friend feed"
},
"story_viewer_override": {
"name": "Story Viewer Override",

View File

@ -44,5 +44,6 @@ class UserInterfaceTweaks : ConfigContainer() {
) { requireRestart() }
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() }
}