Skip to content

Send files directly between devices over the internet - no cloud storage, no size limits.

fix CI checks

Denis Lupookov36c1390075d4
diff --git a/apps/mobile/app/send/share.tsx b/apps/mobile/app/send/share.tsx
index 63c6a46..409cd31 100644
--- a/apps/mobile/app/send/share.tsx
+++ b/apps/mobile/app/send/share.tsx
@@ -15,8 +15,7 @@ export default function SendShareScreen() {
const connectionState = useTransferStore((s) => s.connectionState)
const step = getSendStep({ draftPhase, isPeerConnected: connectionState === 'peer-connected' })
const copy = getSendPageCopy(t, step)
- const description =
- step === 'receiver_connected' ? t('send:hints.keepOpen') : copy.description
+ const description = step === 'receiver_connected' ? t('send:hints.keepOpen') : copy.description
const navigation = useNavigation()
const handleBack = useCallback(() => {
diff --git a/packages/locales/src/mobile-font-coverage.test.ts b/packages/locales/src/mobile-font-coverage.test.ts
index f96be42..b90d8d9 100644
--- a/packages/locales/src/mobile-font-coverage.test.ts
+++ b/packages/locales/src/mobile-font-coverage.test.ts
@@ -88,18 +88,16 @@ describe('mobile font coverage', () => {
expect(languageSource).toContain('getNativeFontFamilyName')
expect(languageSource).toContain('getLocaleFontFamily')
expect(languageSource).toContain('getOptionNativeNameFontFamily')
- expect(languageSource).toContain('fontFamily: getOptionNativeNameFontFamily(option)')
+ expect(languageSource).toContain('labelFontFamily={getOptionNativeNameFontFamily(option)}')
expect(languageSource).not.toContain('BUNDLED_FONT_FAMILIES.latin.cssFamily')
})
- it('keeps language picker row text metrics explicit for CJK option fonts', () => {
+ it('renders language picker rows through the shared CJK-safe LinkRow', () => {
const languageSource = readFileSync(join(mobileRoot.pathname, 'app/language.tsx'), 'utf8')
- expect(languageSource).toMatch(/label:\s*\{[^}]*fontSize:\s*15,[^}]*lineHeight:\s*20/s)
- expect(languageSource).toMatch(/hint:\s*\{[^}]*fontSize:\s*12,[^}]*lineHeight:\s*16/s)
- expect(languageSource).toMatch(/label:\s*\{[^}]*includeFontPadding:\s*false/s)
- expect(languageSource).toMatch(/hint:\s*\{[^}]*includeFontPadding:\s*false/s)
- expect(languageSource).not.toMatch(/label:\s*\{[^}]*fontWeight:\s*'500'/s)
+ expect(languageSource).toContain('LinkCard')
+ expect(languageSource).toContain('LinkRow')
+ expect(languageSource).toContain('subtitle={option.nativeName ? option.label : undefined}')
})
it('does not send translated back titles to Android native stack headers', () => {