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:
@ -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'
|
||||
|
Reference in New Issue
Block a user