From d966b3e425440d45f9b2dae41a3ec26e23b39110 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 19 Mar 2024 12:56:29 -0700 Subject: Fix merge error --- src/components/Lists.tsx | 1 - 1 file changed, 1 deletion(-) (limited to 'src/components') diff --git a/src/components/Lists.tsx b/src/components/Lists.tsx index 8e4a58007..d3e072028 100644 --- a/src/components/Lists.tsx +++ b/src/components/Lists.tsx @@ -150,7 +150,6 @@ export function ListMaybePlaceholder({ const t = useTheme() const {_} = useLingui() const {gtMobile, gtTablet} = useBreakpoints() - const {_} = useLingui() if (!isLoading && isError) { return ( -- cgit 1.4.1 From 43be4f7d3d39894c5145ab1d75fe695c96c98c13 Mon Sep 17 00:00:00 2001 From: cdfzo Date: Tue, 19 Mar 2024 22:32:59 +0100 Subject: Fix typo in tagMenuSearchByUser (#3181) --- src/components/TagMenu/index.web.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/TagMenu/index.web.tsx b/src/components/TagMenu/index.web.tsx index b2f5c9075..433622386 100644 --- a/src/components/TagMenu/index.web.tsx +++ b/src/components/TagMenu/index.web.tsx @@ -87,7 +87,7 @@ export function TagMenu({ author: authorHandle, }) }, - testID: 'tagMenuSeachByUser', + testID: 'tagMenuSearchByUser', icon: { ios: { name: 'magnifyingglass', -- cgit 1.4.1 From bdf77f8548dc62571ecb6c70b320b866360fbec1 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 19 Mar 2024 14:43:00 -0700 Subject: Fix detection of !no-unauthenticated (#3279) --- src/components/moderation/ScreenHider.tsx | 3 ++- src/view/com/post-thread/PostThread.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/moderation/ScreenHider.tsx b/src/components/moderation/ScreenHider.tsx index 71ca85a92..4e3a9680f 100644 --- a/src/components/moderation/ScreenHider.tsx +++ b/src/components/moderation/ScreenHider.tsx @@ -56,7 +56,8 @@ export function ScreenHider({ const isNoPwi = !!modui.blurs.find( cause => - cause.type === 'label' && cause.labelDef.id === '!no-unauthenticated', + cause.type === 'label' && + cause.labelDef.identifier === '!no-unauthenticated', ) return ( - cause.type === 'label' && cause.labelDef.id === '!no-unauthenticated', + cause.type === 'label' && + cause.labelDef.identifier === '!no-unauthenticated', ) }, [rootPost, moderationOpts]) -- cgit 1.4.1 From 2e2fae378af09682370e9b4ebf59d32cae1b848c Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 19 Mar 2024 20:21:25 -0700 Subject: Set keyboardDismisMode to interactive on the report dialog (#3288) --- src/components/Dialog/index.tsx | 8 ++++++-- src/components/Dialog/types.ts | 8 +++++++- src/components/ReportDialog/index.tsx | 4 +++- 3 files changed, 16 insertions(+), 4 deletions(-) (limited to 'src/components') diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx index 0da2919c5..a85a1c4fd 100644 --- a/src/components/Dialog/index.tsx +++ b/src/components/Dialog/index.tsx @@ -206,12 +206,16 @@ export function Inner({children, style}: DialogInnerProps) { ) } -export function ScrollableInner({children, style}: DialogInnerProps) { +export function ScrollableInner({ + children, + keyboardDismissMode, + style, +}: DialogInnerProps) { const insets = useSafeAreaInsets() return ( | DialogInnerPropsBase<{ label: string accessibilityLabelledBy?: undefined accessibilityDescribedBy?: undefined + keyboardDismissMode?: ScrollViewProps['keyboardDismissMode'] }> diff --git a/src/components/ReportDialog/index.tsx b/src/components/ReportDialog/index.tsx index f01ff3f3b..6a7aa6ff2 100644 --- a/src/components/ReportDialog/index.tsx +++ b/src/components/ReportDialog/index.tsx @@ -37,7 +37,9 @@ function ReportDialogInner(props: ReportDialogProps) { const isLoading = useDelayedLoading(500, isLabelerLoading) return ( - + {isLoading ? ( -- cgit 1.4.1