mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-13 13:47:47 +02:00
feat: half swipe notifier
This commit is contained in:
@ -344,6 +344,10 @@
|
||||
"name": "Disable Replay in FF",
|
||||
"description": "Disables the ability to replay with a long press from the Friend Feed"
|
||||
},
|
||||
"half_swipe_notifier": {
|
||||
"name": "Half Swipe Notifier",
|
||||
"description": "Notifies you when someone half swipes into a conversation"
|
||||
},
|
||||
"message_preview_length": {
|
||||
"name": "Message Preview Length",
|
||||
"description": "Specify the amount of messages to get previewed"
|
||||
@ -865,6 +869,12 @@
|
||||
"dialog_message": "Are you sure you want to start a call?"
|
||||
},
|
||||
|
||||
"half_swipe_notifier": {
|
||||
"notification_channel_name": "Half Swipe",
|
||||
"notification_content_dm": "{friend} just half-swiped into your chat for {duration} seconds",
|
||||
"notification_content_group": "{friend} just half-swiped into {group} for {duration} seconds"
|
||||
},
|
||||
|
||||
"download_processor": {
|
||||
"attachment_type": {
|
||||
"snap": "Snap",
|
||||
|
@ -12,6 +12,7 @@ class MessagingTweaks : ConfigContainer() {
|
||||
val hideTypingNotifications = boolean("hide_typing_notifications")
|
||||
val unlimitedSnapViewTime = boolean("unlimited_snap_view_time")
|
||||
val disableReplayInFF = boolean("disable_replay_in_ff")
|
||||
val halfSwipeNotifier = boolean("half_swipe_notifier") { requireRestart() }
|
||||
val messagePreviewLength = integer("message_preview_length", defaultValue = 20)
|
||||
val callStartConfirmation = boolean("call_start_confirmation") { requireRestart() }
|
||||
val autoSaveMessagesInConversations = multiple("auto_save_messages_in_conversations",
|
||||
|
Reference in New Issue
Block a user