feat: hide quick add in friend feed

This commit is contained in:
rhunk
2023-10-25 02:35:53 +02:00
parent e82b91eee0
commit a4b7432006
7 changed files with 58 additions and 0 deletions

View File

@@ -262,6 +262,10 @@
"name": "Hide Streak Restore",
"description": "Hides the Restore button in the friend feed"
},
"hide_quick_add_friend_feed": {
"name": "Hide Quick Add in Friend Feed",
"description": "Hides the Quick Add section in the friend feed"
},
"hide_story_sections": {
"name": "Hide Story Section",
"description": "Hide certain UI Elements shown in the story section"

View File

@@ -30,6 +30,7 @@ class MappingsWrapper : FileLoaderWrapper(BridgeFileType.MAPPINGS, "{}".toByteAr
ScoreUpdateMapper::class,
FriendRelationshipChangerMapper::class,
ViewBinderMapper::class,
FriendingDataSourcesMapper::class,
)
}

View File

@@ -31,6 +31,7 @@ class UserInterfaceTweaks : ConfigContainer() {
val streakExpirationInfo = boolean("streak_expiration_info") { requireRestart() }
val hideFriendFeedEntry = boolean("hide_friend_feed_entry") { requireRestart() }
val hideStreakRestore = boolean("hide_streak_restore") { requireRestart() }
val hideQuickAddFriendFeed = boolean("hide_quick_add_friend_feed") { requireRestart() }
val hideStorySections = multiple("hide_story_sections",
"hide_friend_suggestions", "hide_friends", "hide_suggested", "hide_for_you") { requireRestart() }
val hideUiComponents = multiple("hide_ui_components",