mirror of https://github.com/tooot-app/app
Fixed #454
This commit is contained in:
parent
026ee9ce6d
commit
4d7606cd53
|
@ -51,9 +51,9 @@ const TabLocal = React.memo(
|
|||
]
|
||||
: undefined
|
||||
}
|
||||
onPress={({ nativeEvent: { id } }) => {
|
||||
id.length
|
||||
? setQueryKey(['Timeline', { page: 'List', list: id }])
|
||||
onPress={({ nativeEvent: { index } }) => {
|
||||
lists && index
|
||||
? setQueryKey(['Timeline', { page: 'List', list: lists[index - 1].id }])
|
||||
: setQueryKey(['Timeline', { page: 'Following' }])
|
||||
}}
|
||||
children={
|
||||
|
|
Loading…
Reference in New Issue