mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
feat(core): long press to force download
This commit is contained in:
@ -182,11 +182,11 @@
|
||||
},
|
||||
"opera_download_button": {
|
||||
"name": "Opera Download Button",
|
||||
"description": "Adds a download button on the top right corner when viewing a Snap"
|
||||
"description": "Adds a download button on the top right corner when viewing a Snap.\nLong press on buttons will force download"
|
||||
},
|
||||
"chat_download_context_menu": {
|
||||
"name": "Chat Download Context Menu",
|
||||
"description": "Allows you to download media from a conversation by long-pressing them"
|
||||
"download_context_menu": {
|
||||
"name": "Download Context Menu",
|
||||
"description": "Allows you to download/preview messages from a conversation or a story using the context menu.\nLong press on buttons will force download"
|
||||
},
|
||||
"ffmpeg_options": {
|
||||
"name": "FFmpeg Options",
|
||||
|
@ -43,7 +43,7 @@ class DownloaderConfig : ConfigContainer() {
|
||||
}
|
||||
val downloadProfilePictures = boolean("download_profile_pictures") { requireRestart() }
|
||||
val operaDownloadButton = boolean("opera_download_button") { requireRestart() }
|
||||
val chatDownloadContextMenu = boolean("chat_download_context_menu")
|
||||
val downloadContextMenu = boolean("download_context_menu")
|
||||
val ffmpegOptions = container("ffmpeg_options", FFMpegOptions()) { addNotices(FeatureNotice.UNSTABLE) }
|
||||
val logging = multiple("logging", "started", "success", "progress", "failure").apply {
|
||||
set(mutableListOf("success", "progress", "failure"))
|
||||
|
Reference in New Issue
Block a user