From 3c33e42d3508bacc6c5944df1ff3a011644a6ddb Mon Sep 17 00:00:00 2001
From: Evan <LegendEffects@users.noreply.github.com>
Date: Tue, 19 Nov 2024 19:07:27 +0000
Subject: Fix post interaction selectable text being cut off (#6527)

---
 src/components/dialogs/PostInteractionSettingsDialog.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/dialogs/PostInteractionSettingsDialog.tsx')

diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx
index 0b8b386d3..81590e3c9 100644
--- a/src/components/dialogs/PostInteractionSettingsDialog.tsx
+++ b/src/components/dialogs/PostInteractionSettingsDialog.tsx
@@ -306,7 +306,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 +483,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 && {
-- 
cgit 1.4.1


From 9663b3e855acfc5a4d3e61211eac253605147e93 Mon Sep 17 00:00:00 2001
From: Luke Lucas <52675277+O4FDev@users.noreply.github.com>
Date: Sat, 23 Nov 2024 20:07:44 +0000
Subject: fix: nothing selected bug (#6260)

* fix: nothing selected bug

* fix: consolidate related logic for audience settings

* simplify

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
---
 src/components/dialogs/PostInteractionSettingsDialog.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/components/dialogs/PostInteractionSettingsDialog.tsx')

diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx
index 81590e3c9..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)
   }
-- 
cgit 1.4.1

