mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
feat: call start confirmation
This commit is contained in:
@ -332,6 +332,10 @@
|
||||
"name": "Message Preview Length",
|
||||
"description": "Specify the amount of messages to get previewed"
|
||||
},
|
||||
"call_start_confirmation": {
|
||||
"name": "Call Start Confirmation",
|
||||
"description": "Shows a confirmation dialog when starting a call"
|
||||
},
|
||||
"prevent_message_sending": {
|
||||
"name": "Prevent Message Sending",
|
||||
"description": "Prevents sending certain types of messages"
|
||||
@ -785,6 +789,11 @@
|
||||
"background_option": "Background"
|
||||
},
|
||||
|
||||
"call_start_confirmation": {
|
||||
"dialog_title": "Start Call",
|
||||
"dialog_message": "Are you sure you want to start a call?"
|
||||
},
|
||||
|
||||
"download_processor": {
|
||||
"attachment_type": {
|
||||
"snap": "Snap",
|
||||
|
@ -11,6 +11,7 @@ class MessagingTweaks : ConfigContainer() {
|
||||
val unlimitedSnapViewTime = boolean("unlimited_snap_view_time")
|
||||
val disableReplayInFF = boolean("disable_replay_in_ff")
|
||||
val messagePreviewLength = integer("message_preview_length", defaultValue = 20)
|
||||
val callStartConfirmation = boolean("call_start_confirmation") { requireRestart() }
|
||||
val autoSaveMessagesInConversations = multiple("auto_save_messages_in_conversations",
|
||||
"CHAT",
|
||||
"SNAP",
|
||||
|
Reference in New Issue
Block a user