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

Use svg icons instead of expo ones

Possibility to control `strokeWidth`
This commit is contained in:
Zhiyuan Zheng
2021-01-03 02:00:26 +01:00
parent 5a80359739
commit dceaf8d25c
62 changed files with 495 additions and 427 deletions

View File

@ -194,10 +194,16 @@ export const timelineFetch = async ({
res = await client({
method: 'get',
instance: 'local',
url: `statuses/${toot!.id}/context`
url: `statuses/${toot}`
})
const theToot = res.body
res = await client({
method: 'get',
instance: 'local',
url: `statuses/${toot}/context`
})
return Promise.resolve({
toots: [...res.body.ancestors, toot, ...res.body.descendants],
toots: [...res.body.ancestors, theToot, ...res.body.descendants],
pointer: res.body.ancestors.length
})
default: