Refactor DownloadMenuDialog to use useTranscodingOptions hook

This commit is contained in:
Deluan
2023-01-22 00:49:22 -05:00
parent c8293fcdd8
commit 65174d3fb2
9 changed files with 107 additions and 211 deletions
+4
View File
@@ -22,3 +22,7 @@ DraggableTypes.ALL.push(
export const MAX_SIDEBAR_PLAYLISTS = 100
export const DEFAULT_SHARE_BITRATE = 128
export const BITRATE_CHOICES = [
32, 48, 64, 80, 96, 112, 128, 160, 192, 256, 320,
].map((b) => ({ id: b, name: b.toString() }))