@@ -62,24 +62,9 @@ export function SettingsPage() {
62
62
< option value = "default" > { store . i18n [ "settings-theme-default" ] } </ option >
63
63
< option value = "native" > { store . i18n [ "settings-theme-native" ] } </ option >
64
64
< Show when = { window . legcord . platform === "win32" } >
65
- < option value = "overlay " > { store . i18n [ "settings-theme-overlay " ] } </ option >
65
+ < option value = "transparent " > { store . i18n [ "settings-theme-transparent " ] } </ option >
66
66
</ Show >
67
67
</ DropdownItem >
68
- < DropdownItem
69
- value = { store . settings . transparency }
70
- onChange = { ( e ) =>
71
- setConfig ( "transparency" , ( e . target as HTMLInputElement ) . value as Settings [ "transparency" ] , true )
72
- }
73
- title = { store . i18n [ "settings-transparency" ] }
74
- note = { store . i18n [ "settings-transparency-desc" ] }
75
- link = "https://github.com/Legcord/Legcord/wiki/Transparency-options"
76
- >
77
- < option value = "universal" > { store . i18n [ "settings-transparency-universal" ] } </ option >
78
- < Show when = { window . legcord . platform === "win32" } >
79
- < option value = "modern" > { store . i18n [ "settings-transparency-modern" ] } </ option >
80
- </ Show >
81
- < option value = "none" > { store . i18n [ "settings-none" ] } </ option >
82
- </ DropdownItem >
83
68
< DropdownItem
84
69
value = { store . settings . trayIcon }
85
70
onChange = { ( e ) =>
@@ -192,25 +177,15 @@ export function SettingsPage() {
192
177
{ store . i18n [ "settings-category-legacy" ] }
193
178
</ Header >
194
179
< SwitchItem
195
- note = { store . i18n [ "settings-useLegacyCapturer -desc" ] }
196
- value = { store . settings . useLegacyCapturer }
197
- onChange = { ( e : boolean ) => setConfig ( "useLegacyCapturer " , e , true ) }
180
+ note = { store . i18n [ "settings-legacyDynamicIcon -desc" ] }
181
+ value = { store . settings . legacyDynamicIcon }
182
+ onChange = { ( e : boolean ) => setConfig ( "legacyDynamicIcon " , e , true ) }
198
183
>
199
- { store . i18n [ "settings-useLegacyCapturer " ] }
184
+ { store . i18n [ "settings-legacyDynamicIcon " ] }
200
185
</ SwitchItem >
201
186
< Header class = { classes . category } tag = { HeaderTags . H5 } >
202
187
{ store . i18n [ "settings-category-debug" ] }
203
188
</ Header >
204
- < DropdownItem
205
- value = { store . settings . audio }
206
- onChange = { ( e ) => setConfig ( "audio" , ( e . target as HTMLInputElement ) . value as Settings [ "audio" ] ) }
207
- title = { store . i18n [ "settings-audio" ] }
208
- note = { store . i18n [ "settings-audio-desc" ] }
209
- link = "https://www.electronjs.org/docs/latest/api/session#sessetdisplaymediarequesthandlerhandler-opts"
210
- >
211
- < option value = "loopback" > Loopback</ option >
212
- < option value = "loopbackWithMute" > Loopback with mute</ option >
213
- </ DropdownItem >
214
189
< SwitchItem
215
190
note = { store . i18n [ "settings-hardwareAcceleration-desc" ] }
216
191
value = { store . settings . hardwareAcceleration }
@@ -225,6 +200,10 @@ export function SettingsPage() {
225
200
>
226
201
{ store . i18n [ "settings-disableHttpCache" ] }
227
202
</ SwitchItem >
203
+ < Button size = { ButtonSizes . MAX } onClick = { window . legcord . settings . openCustomIconDialog } >
204
+ { store . i18n [ "settings-openCustomIconDialog" ] }
205
+ </ Button >
206
+ < br />
228
207
< Button size = { ButtonSizes . MAX } onClick = { window . legcord . settings . openStorageFolder } >
229
208
{ store . i18n [ "settings-storageFolder" ] }
230
209
</ Button >
0 commit comments