Update chat settings (#10449)

This commit is contained in:
DS Boyce
2026-05-08 15:49:44 -07:00
committed by GitHub
parent 75d8fb3dbd
commit 1609778ff6
4 changed files with 276 additions and 119 deletions
+25
View File
@@ -572,4 +572,29 @@ export function BaseRadio({
)
}
export function RadioWithLabel({
label,
selected,
}: {
label: string
selected: boolean
}) {
const t = useTheme()
return (
<View style={[a.flex_1, a.flex_row, a.align_center, a.gap_sm]}>
<Radio />
<LabelText
style={[
a.font_medium,
a.flex_1,
a.leading_tight,
selected ? t.atoms.text : t.atoms.text_contrast_high,
]}>
{label}
</LabelText>
</View>
)
}
export const Platform = IS_NATIVE ? Switch : Checkbox