mirror of https://github.com/tooot-app/app
Fixed #394
This commit is contained in:
parent
52c44c600c
commit
34d02c9ca3
|
@ -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
|
||||||
? [
|
? [
|
||||||
|
|
Loading…
Reference in New Issue