diff options
Diffstat (limited to 'src/components/dialogs/PostInteractionSettingsDialog.tsx')
-rw-r--r-- | src/components/dialogs/PostInteractionSettingsDialog.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx index 0b8b386d3..8536001da 100644 --- a/src/components/dialogs/PostInteractionSettingsDialog.tsx +++ b/src/components/dialogs/PostInteractionSettingsDialog.tsx @@ -256,6 +256,9 @@ export function PostInteractionSettingsForm({ } else { newSelected.splice(i, 1) } + if (newSelected.length === 0) { + newSelected.push({type: 'everybody'}) + } onChangeThreadgateAllowUISettings(newSelected) } @@ -306,7 +309,7 @@ export function PostInteractionSettingsForm({ } value={quotesEnabled} onChange={onChangeQuotesEnabled} - style={[, a.justify_between, a.pt_xs]}> + style={[a.justify_between, a.pt_xs]}> <Text style={[t.atoms.text_contrast_medium]}> {quotesEnabled ? ( <Trans>Quote posts enabled</Trans> @@ -483,7 +486,7 @@ function Selectable({ a.justify_between, a.rounded_sm, a.p_md, - {height: 40}, // for consistency with checkmark icon visible or not + {minHeight: 40}, // for consistency with checkmark icon visible or not t.atoms.bg_contrast_50, (hovered || focused) && t.atoms.bg_contrast_100, isSelected && { |