feat(core): auto mark as read

This commit is contained in:
rhunk
2024-04-10 22:50:04 +02:00
parent f2762840f0
commit 8da3bf86b4
6 changed files with 66 additions and 33 deletions

View File

@@ -488,6 +488,10 @@
"name": "Unlimited Snap View Time",
"description": "Removes the Time Limit for viewing Snaps"
},
"auto_mark_as_read": {
"name": "Auto Mark as Read",
"description": "Automatically marks messages as read when sending a message to a conversation, even when Stealth Mode is enabled"
},
"loop_media_playback": {
"name": "Loop Media Playback",
"description": "Loops media playback when viewing Snaps / Stories"

View File

@@ -55,6 +55,7 @@ class MessagingTweaks : ConfigContainer() {
val hideBitmojiPresence = boolean("hide_bitmoji_presence")
val hideTypingNotifications = boolean("hide_typing_notifications")
val unlimitedSnapViewTime = boolean("unlimited_snap_view_time")
val autoMarkAsRead = boolean("auto_mark_as_read") { requireRestart() }
val loopMediaPlayback = boolean("loop_media_playback") { requireRestart() }
val disableReplayInFF = boolean("disable_replay_in_ff")
val halfSwipeNotifier = container("half_swipe_notifier", HalfSwipeNotifierConfig()) { requireRestart()}