feat: in-chat snap preview

This commit is contained in:
rhunk
2023-11-01 16:45:31 +01:00
parent eb803df196
commit 94d58c4f46
6 changed files with 113 additions and 8 deletions

View File

@ -232,6 +232,10 @@
}
}
},
"snap_preview": {
"name": "Snap Preview",
"description": "Displays a small preview next to unseen Snaps in chat"
},
"bootstrap_override": {
"name": "Bootstrap Override",
"description": "Overrides user interface bootstrap settings",

View File

@ -26,6 +26,7 @@ class UserInterfaceTweaks : ConfigContainer() {
val friendFeedMenuPosition = integer("friend_feed_menu_position", defaultValue = 1)
val amoledDarkMode = boolean("amoled_dark_mode") { addNotices(FeatureNotice.UNSTABLE); requireRestart() }
val friendFeedMessagePreview = container("friend_feed_message_preview", FriendFeedMessagePreview()) { requireRestart() }
val snapPreview = boolean("snap_preview") { addNotices(FeatureNotice.UNSTABLE); requireRestart() }
val bootstrapOverride = container("bootstrap_override", BootstrapOverride()) { requireRestart() }
val mapFriendNameTags = boolean("map_friend_nametags") { requireRestart() }
val streakExpirationInfo = boolean("streak_expiration_info") { requireRestart() }