diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-06-23 17:44:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-23 07:44:40 -0700 |
commit | c634cd9071305239f8c7d6acf371aca397f2bf2b (patch) | |
tree | 6df1efe8fc7d01b2bca9d325c4971a03534e361e /src/components/WhoCanReply.tsx | |
parent | 3c92714e4e898ffabd714092f4d9c88eddf8429c (diff) | |
download | voidsky-c634cd9071305239f8c7d6acf371aca397f2bf2b.tar.zst |
Upgrade prettier to 3.6 (#8558)
* upgrade prettier * run prettier * more files
Diffstat (limited to 'src/components/WhoCanReply.tsx')
-rw-r--r-- | src/components/WhoCanReply.tsx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/components/WhoCanReply.tsx b/src/components/WhoCanReply.tsx index 29f4ac5bc..22a514194 100644 --- a/src/components/WhoCanReply.tsx +++ b/src/components/WhoCanReply.tsx @@ -1,9 +1,15 @@ import React from 'react' -import {Keyboard, Platform, StyleProp, View, ViewStyle} from 'react-native' import { - AppBskyFeedDefs, + Keyboard, + Platform, + type StyleProp, + View, + type ViewStyle, +} from 'react-native' +import { + type AppBskyFeedDefs, AppBskyFeedPost, - AppBskyGraphDefs, + type AppBskyGraphDefs, AtUri, } from '@atproto/api' import {msg, Trans} from '@lingui/macro' @@ -13,7 +19,7 @@ import {HITSLOP_10} from '#/lib/constants' import {makeListLink, makeProfileLink} from '#/lib/routes/links' import {isNative} from '#/platform/detection' import { - ThreadgateAllowUISetting, + type ThreadgateAllowUISetting, threadgateViewToAllowUISetting, } from '#/state/queries/threadgate' import {atoms as a, useTheme} from '#/alf' @@ -70,8 +76,8 @@ export function WhoCanReply({post, isThreadAuthor, style}: WhoCanReplyProps) { const description = anyoneCanReply ? _(msg`Everybody can reply`) : noOneCanReply - ? _(msg`Replies disabled`) - : _(msg`Some people can reply`) + ? _(msg`Replies disabled`) + : _(msg`Some people can reply`) const onPressOpen = () => { if (isNative && Keyboard.isVisible()) { |