feat(core/ui): opera download icon

This commit is contained in:
rhunk
2023-11-10 23:07:56 +01:00
parent 6fa7993712
commit 673b86618d
4 changed files with 51 additions and 1 deletions

View File

@ -166,6 +166,10 @@
"name": "Download Profile Pictures",
"description": "Allows you to download Profile Pictures from the profile page"
},
"opera_download_button": {
"name": "Opera Download Button",
"description": "Adds a download button on the top right corner when viewing a Snap"
},
"chat_download_context_menu": {
"name": "Chat Download Context Menu",
"description": "Allows you to download media from a conversation by long-pressing them"

View File

@ -42,6 +42,7 @@ class DownloaderConfig : ConfigContainer() {
addFlags(ConfigFlag.NO_TRANSLATE)
}
val downloadProfilePictures = boolean("download_profile_pictures") { requireRestart() }
val operaDownloadButton = boolean("opera_download_button") { requireRestart() }
val chatDownloadContextMenu = boolean("chat_download_context_menu")
val ffmpegOptions = container("ffmpeg_options", FFMpegOptions()) { addNotices(FeatureNotice.UNSTABLE) }
val logging = multiple("logging", "started", "success", "progress", "failure").apply {