TypeScript
fix(mobile): use monospace in the Android terminal preview (#23401)
Victor Vogeld15278481b98
diff --git a/apps/mobile/src/features/settings/appearance/components/AppearancePreviews.tsx b/apps/mobile/src/features/settings/appearance/components/AppearancePreviews.tsxindex 644c6d25ee3..afcf4ba30d9 100644--- a/apps/mobile/src/features/settings/appearance/components/AppearancePreviews.tsx+++ b/apps/mobile/src/features/settings/appearance/components/AppearancePreviews.tsx@@ -44,7 +44,7 @@ export function TerminalAppearancePreview(props: { readonly fontSize: number })const theme = getMobileTerminalTheme(themeId, scheme);const lineHeight = Math.round(props.fontSize * 1.6);const lineStyle = {- fontFamily: "Menlo",+ fontFamily: Platform.OS === "android" ? "monospace" : "Menlo",fontSize: props.fontSize,lineHeight,} as const;