mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-13 13:47:47 +02:00
feat(core): disable confirmation dialogs
This commit is contained in:
@ -408,6 +408,10 @@
|
||||
"name": "Snapchat Plus",
|
||||
"description": "Enables Snapchat Plus features\nSome Server-sided features may not work"
|
||||
},
|
||||
"disable_confirmation_dialogs": {
|
||||
"name": "Disable Confirmation Dialogs",
|
||||
"description": "Automatically confirms selected actions"
|
||||
},
|
||||
"auto_updater": {
|
||||
"name": "Auto Updater",
|
||||
"description": "Automatically checks for new updates"
|
||||
@ -738,6 +742,14 @@
|
||||
"old_bitmoji_selfie": {
|
||||
"2d": "2D Bitmoji",
|
||||
"3d": "3D Bitmoji"
|
||||
},
|
||||
"disable_confirmation_dialogs": {
|
||||
"remove_friend": "Remove Friend",
|
||||
"block_friend": "Block Friend",
|
||||
"ignore_friend": "Ignore Friend",
|
||||
"hide_friend": "Hide Friend",
|
||||
"hide_conversation": "Hide Conversation",
|
||||
"clear_conversation": "Clear Conversation from Friend Feed"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -9,6 +9,7 @@ class Global : ConfigContainer() {
|
||||
}
|
||||
val spoofLocation = container("spoofLocation", SpoofLocation())
|
||||
val snapchatPlus = boolean("snapchat_plus") { requireRestart() }
|
||||
val disableConfirmationDialogs = multiple("disable_confirmation_dialogs", "remove_friend", "block_friend", "ignore_friend", "hide_friend", "hide_conversation", "clear_conversation") { requireRestart() }
|
||||
val disableMetrics = boolean("disable_metrics")
|
||||
val blockAds = boolean("block_ads")
|
||||
val bypassVideoLengthRestriction = unique("bypass_video_length_restriction", "split", "single") { addNotices(
|
||||
|
Reference in New Issue
Block a user