diff --git a/src/@types/mastodon.d.ts b/src/@types/mastodon.d.ts index e1dcfa40..2a90a73a 100644 --- a/src/@types/mastodon.d.ts +++ b/src/@types/mastodon.d.ts @@ -452,6 +452,7 @@ declare namespace Mastodon { 'posting:default:language'?: string 'reading:expand:media'?: 'default' | 'show_all' | 'hide_all' 'reading:expand:spoilers'?: boolean + 'reading:autoplay:gifs'?: boolean } type PushSubscription = { diff --git a/src/components/Menu/Container.tsx b/src/components/Menu/Container.tsx index b591386a..c47d5c8d 100644 --- a/src/components/Menu/Container.tsx +++ b/src/components/Menu/Container.tsx @@ -1,17 +1,19 @@ import { StyleConstants } from '@utils/styles/constants' import React from 'react' -import { View } from 'react-native' +import { View, ViewStyle } from 'react-native' export interface Props { + style?: ViewStyle children: React.ReactNode } -const MenuContainer: React.FC = ({ children }) => { +const MenuContainer: React.FC = ({ style, children }) => { return ( {children} diff --git a/src/components/Relationship/Outgoing.tsx b/src/components/Relationship/Outgoing.tsx index 6d59a01f..35c889cc 100644 --- a/src/components/Relationship/Outgoing.tsx +++ b/src/components/Relationship/Outgoing.tsx @@ -13,7 +13,6 @@ import { StyleConstants } from '@utils/styles/constants' import { useTheme } from '@utils/styles/ThemeManager' import React from 'react' import { useTranslation } from 'react-i18next' -import { View } from 'react-native' export interface Props { id: Mastodon.Account['id'] @@ -127,7 +126,7 @@ const RelationshipOutgoing: React.FC = ({ id }: Props) => { const isPageNotifications = name === 'Tab-Notifications-Root' return ( - + <> {!isPageNotifications && canFollowNotify && query.data?.following ? (