Make 'everbody' setting more clear

This commit is contained in:
Eric Bailey
2024-08-05 14:49:08 -05:00
parent cfbcd99552
commit bb912321d6
4 changed files with 9 additions and 12 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ function DialogContent({
}
const onPressEverybody = () => {
updateThreadgate([])
updateThreadgate([{type: 'everybody'}])
}
const onPressNobody = () => {
@@ -102,7 +102,7 @@ function DialogContent({
<View style={[a.flex_row, a.gap_sm]}>
<Selectable
label={_(msg`Everybody`)}
isSelected={draft.length === 0}
isSelected={!!draft.find(v => v.type === 'everybody')}
onPress={onPressEverybody}
style={{flex: 1}}
/>