Add repost-only mutes (#11223)
Co-authored-by: DS Boyce <260543580+ds-boyce@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
}) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user