Send files directly between devices over the internet - no cloud storage, no size limits.
TypeScript cross-platformdata-transferdecentralizedfile-sharingfile-transferhole-punchingopen-sourcep2ppeer-to-peerprivacyprivacy-tools
Add LinkRow to relay block
Denis Lupookov33e139ed4224
diff --git a/apps/desktop/src/renderer/components/Settings/sections/ConnectionSection.tsx b/apps/desktop/src/renderer/components/Settings/sections/ConnectionSection.tsxindex 55e9aa0..88e9416 100644--- a/apps/desktop/src/renderer/components/Settings/sections/ConnectionSection.tsx+++ b/apps/desktop/src/renderer/components/Settings/sections/ConnectionSection.tsx@@ -1,5 +1,5 @@import { useState } from 'react'-import { ExternalLink, ToggleSwitch } from '@altersend/components'+import { ExternalLink, LinkRow, ToggleSwitch } from '@altersend/components'import { useTranslation } from '@altersend/locales'import { websiteUrl } from '@altersend/domain'import { bridgeApi } from '../../../api/bridgeApi'@@ -21,11 +21,19 @@ export function ConnectionSection() {return (<SectionShell title={t('settings:rows.connection')}>- <ToggleSwitch- checked={relay}- onChange={handleRelayToggle}+ <LinkRow+ standalone+ compact+ subtitleWraplabel={t('settings:relay.label')}- description={t('settings:relay.description')}+ subtitle={t('settings:relay.description')}+ trailing={+ <ToggleSwitch+ checked={relay}+ onChange={handleRelayToggle}+ aria-label={t('settings:relay.label')}+ />+ }/><p className='m-0 mt-5 text-[12px] leading-5 text-text-muted'>{t('settings:relay.fairUse')} {t('settings:relay.contact')}{' '}