Compare commits

..

1 Commits

Author SHA1 Message Date
deveshanim3 e37da856e2 fix: restore consistent input field sizing and alignment in FieldInline 2026-04-18 20:15:01 +05:30
+3 -5
View File
@@ -12,10 +12,8 @@
settings = {...$userSettingsValues}
}
const onAuthModeChange = (e: Event) => {
const target = e.currentTarget as HTMLInputElement
settings.relay_auth = target.checked ? RelayAuthMode.Aggressive : RelayAuthMode.Conservative
const onAuthModeChange = (e: any) => {
settings.auth_mode = e.target.checked ? RelayAuthMode.Aggressive : RelayAuthMode.Conservative
}
const onsubmit = preventDefault(async () => {
@@ -42,7 +40,7 @@
type="checkbox"
class="toggle toggle-primary"
onchange={onAuthModeChange}
checked={settings.relay_auth === RelayAuthMode.Aggressive} />
checked={settings.auth_mode === RelayAuthMode.Aggressive} />
{/snippet}
{#snippet info()}
<p>Controls whether {PLATFORM_NAME} will identify you to relays not in your lists.</p>