1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
Use websocket to constantly fetch new notifications. Also use flatlist item view to clear notification.
This commit is contained in:
Zhiyuan Zheng
2021-02-08 23:19:55 +01:00
parent 01d4e6a5b9
commit f5414412d4
22 changed files with 576 additions and 436 deletions

View File

@ -100,11 +100,8 @@ const ScreenImagesViewer = React.memo(
useLayoutEffect(
() =>
navigation.setOptions({
headerTitle: () => (
<HeaderCenter
content={`${currentIndex + 1} / ${imageUrls.length}`}
/>
),
headerTitle: `${currentIndex + 1} / ${imageUrls.length}`,
headerTintColor: theme.primaryOverlay,
headerRight: () => (
<HeaderRight
content='MoreHorizontal'