diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-06-18 14:21:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 00:21:55 +0300 |
commit | 853c32b4d8cfe86ed02c688c32fc99e788c33838 (patch) | |
tree | 6382521b267042490751f0543bb15675a9447e22 /src/screens/Profile/Header/ProfileHeaderLabeler.tsx | |
parent | 0012d1236ffa4f268fb359931d02335b21610fd6 (diff) | |
download | voidsky-853c32b4d8cfe86ed02c688c32fc99e788c33838.tar.zst |
Bump labeler limit to 20 (#4565)
* Increase the labeler subscription limit to 20 * Bump @atproto/api@0.12.20 * Fix: correctly count labeler subscriptions --------- Co-authored-by: dan <dan.abramov@gmail.com>
Diffstat (limited to 'src/screens/Profile/Header/ProfileHeaderLabeler.tsx')
-rw-r--r-- | src/screens/Profile/Header/ProfileHeaderLabeler.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/Profile/Header/ProfileHeaderLabeler.tsx b/src/screens/Profile/Header/ProfileHeaderLabeler.tsx index 6588eb2e1..d266decb3 100644 --- a/src/screens/Profile/Header/ProfileHeaderLabeler.tsx +++ b/src/screens/Profile/Header/ProfileHeaderLabeler.tsx @@ -82,7 +82,7 @@ let ProfileHeaderLabeler = ({ preferences?.moderationPrefs.labelers.find(l => l.did === profile.did) const canSubscribe = isSubscribed || - (preferences ? preferences?.moderationPrefs.labelers.length < 9 : false) + (preferences ? preferences?.moderationPrefs.labelers.length <= 20 : false) const {mutateAsync: likeMod, isPending: isLikePending} = useLikeMutation() const {mutateAsync: unlikeMod, isPending: isUnlikePending} = useUnlikeMutation() @@ -328,8 +328,8 @@ function CantSubscribePrompt({ <Prompt.TitleText>Unable to subscribe</Prompt.TitleText> <Prompt.DescriptionText> <Trans> - We're sorry! You can only subscribe to ten labelers, and you've - reached your limit of ten. + We're sorry! You can only subscribe to twenty labelers, and you've + reached your limit of twenty. </Trans> </Prompt.DescriptionText> <Prompt.Actions> |