From 3de01a3a3f87cebc32a8d99581baea5df1444841 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 6 Feb 2025 12:37:42 -0600 Subject: [PATCH] Add new followerRule to threadgate settings --- package.json | 2 +- .../dialogs/PostInteractionSettingsDialog.tsx | 10 ++++++++++ src/state/queries/threadgate/types.ts | 1 + src/state/queries/threadgate/util.ts | 4 ++++ yarn.lock | 8 ++++---- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 51289dd8d6..3bc36cdf96 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "icons:optimize": "svgo -f ./assets/icons" }, "dependencies": { - "@atproto/api": "^0.13.33", + "@atproto/api": "^0.13.34", "@bitdrift/react-native": "^0.6.2", "@braintree/sanitize-url": "^6.0.2", "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet", diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx index b443d59f22..7cbb52f4d8 100644 --- a/src/components/dialogs/PostInteractionSettingsDialog.tsx +++ b/src/components/dialogs/PostInteractionSettingsDialog.tsx @@ -438,6 +438,16 @@ export function PostInteractionSettingsForm({ onPress={() => onPressAudience({type: 'following'})} disabled={replySettingsDisabled} /> + v.type === 'followers', + ) + } + onPress={() => onPressAudience({type: 'followers'})} + disabled={replySettingsDisabled} + /> {lists && lists.length > 0 ? lists.map(list => (