Add repost-only mutes (#11223)

Co-authored-by: DS Boyce <260543580+ds-boyce@users.noreply.github.com>
This commit is contained in:
Eric Bailey
2026-08-06 13:53:02 -05:00
committed by GitHub
parent 1cbe7a39e6
commit 724013df1b
14 changed files with 259 additions and 64 deletions
@@ -35,7 +35,7 @@ export function GrowableBanner({
backButton?: React.ReactNode
children: React.ReactNode
onPress?: () => void
bannerRef?: AnimatedRef<Animated.View>
bannerRef?: AnimatedRef
testID?: string
label?: string
}) {
@@ -87,7 +87,7 @@ function GrowableBannerInner({
backButton?: React.ReactNode
children: React.ReactNode
onPress?: () => void
bannerRef?: AnimatedRef<Animated.View>
bannerRef?: AnimatedRef
testID?: string
label?: string
}) {
+3 -2
View File
@@ -60,7 +60,7 @@ let ProfileHeaderShell = ({
const liveStatusControl = useDialogControl()
const aviRef = useAnimatedRef()
const bannerRef = useAnimatedRef<Animated.View>()
const bannerRef = useAnimatedRef()
const onPressBack = useCallback(() => {
if (navigation.canGoBack()) {
@@ -73,7 +73,7 @@ let ProfileHeaderShell = ({
const _openLightbox = useCallback(
(
uri: string,
thumbRef: AnimatedRef<any>,
thumbRef: AnimatedRef,
type: 'circle-avi' | 'rect-avi' | 'image' = 'circle-avi',
) => {
openLightbox({
@@ -239,6 +239,7 @@ let ProfileHeaderShell = ({
) : (
<ProfileHeaderAlerts
moderation={moderation}
profile={profile}
style={[
a.px_lg,
a.pt_xs,