1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Bump packages

This commit is contained in:
xmflsct
2023-03-10 14:03:10 +01:00
parent af991fdc56
commit 97fb5b8e6d
7 changed files with 22 additions and 22 deletions

View File

@@ -105,7 +105,7 @@ const TimelineHeaderDefault: React.FC = () => {
case 'sub':
return (
// @ts-ignore
<DropdownMenu.Sub key={item}>
<DropdownMenu.Sub key={item.key}>
<DropdownMenu.SubTrigger
key={item.trigger.key}
{...item.trigger.props}

View File

@@ -33,7 +33,7 @@ type ContextMenuItem = {
hidden: boolean
}
title: string
icon?: string
icon?: any
}
type ContextMenuSub = {
@@ -47,7 +47,7 @@ type ContextMenuSub = {
hidden: boolean
}
title: string
icon?: string
icon?: any
}
items: Omit<ContextMenuItem, 'type'>[]
}

View File

@@ -152,7 +152,7 @@ const Root: React.FC<NativeStackScreenProps<TabLocalStackParamList, 'Tab-Local-R
hidden: false
},
title: list.title,
icon: 'list.bullet'
icon: 'list.bullet' as any
}))
].map(menu => (
<DropdownMenu.Item key={menu.key} {...menu.item}>

View File

@@ -7,7 +7,7 @@ export const menuListAccounts = ({ list }: { list: Mastodon.List }) => ({
key: 'list-accounts',
onSelect: () => navigationRef.navigate<any>('Tab-Me-List-Accounts', list),
title: i18next.t('screenTabs:me.listAccounts.heading'),
icon: 'person.crop.circle.fill.badge.checkmark'
icon: 'person.crop.circle.fill.badge.checkmark' as any
})
export const menuListEdit = ({ list, key }: { list: Mastodon.List; key: string }) => ({
@@ -19,7 +19,7 @@ export const menuListEdit = ({ list, key }: { list: Mastodon.List; key: string }
key
}),
title: i18next.t('screenTabs:me.listEdit.heading'),
icon: 'square.and.pencil'
icon: 'square.and.pencil' as any
})
export const menuListDelete = ({
@@ -44,5 +44,5 @@ export const menuListDelete = ({
]
),
title: i18next.t('screenTabs:me.listDelete.heading'),
icon: 'trash'
icon: 'trash' as any
})