This commit is contained in:
xmflsct 2022-10-10 23:28:55 +02:00
parent 52c44c600c
commit 34d02c9ca3
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ import { QueryKeyTimeline } from '@utils/queryHooks/timeline'
import layoutAnimation from '@utils/styles/layoutAnimation' import layoutAnimation from '@utils/styles/layoutAnimation'
import React, { useEffect, useState } from 'react' import React, { useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next' import { useTranslation } from 'react-i18next'
import { Platform } from 'react-native'
import ContextMenu from 'react-native-context-menu-view' import ContextMenu from 'react-native-context-menu-view'
import TabSharedRoot from './Shared/Root' import TabSharedRoot from './Shared/Root'
@ -33,7 +34,7 @@ const TabLocal = React.memo(
headerTitle: () => ( headerTitle: () => (
<ContextMenu <ContextMenu
dropdownMenuMode dropdownMenuMode
style={{ maxWidth: '80%' }} style={{ maxWidth: '80%', flex: Platform.OS === 'android' ? 1 : undefined }}
actions={ actions={
lists?.length lists?.length
? [ ? [