mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
update
This commit is contained in:
parent
0fb9222f3a
commit
6be0b74047
1 changed files with 2 additions and 2 deletions
|
|
@ -366,12 +366,12 @@ export const AutoRefreshToggle = () => {
|
|||
// right now this is just `enabled_autoRefreshModels`
|
||||
const enabled = voidSettingsState.globalSettings[settingName]
|
||||
|
||||
return <div className='flex items-center px-3 gap-x-1'>
|
||||
return <div className='flex items-center px-3 void-gap-x-1.5'>
|
||||
<VoidSwitch
|
||||
size='xxs'
|
||||
value={enabled}
|
||||
onChange={(newVal) => {
|
||||
voidSettingsService.setGlobalSetting(settingName, !enabled)
|
||||
voidSettingsService.setGlobalSetting(settingName, newVal)
|
||||
metricsService.capture('Click', { action: 'Autorefresh Toggle', settingName, enabled: newVal })
|
||||
}} />
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue