diff options
author | Eric Bailey <git@esb.lol> | 2025-08-07 15:11:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-07 13:11:16 -0700 |
commit | 08a83242906431acb06dde79467ec7dfdefa49f8 (patch) | |
tree | 48ed62cf664330eb6beb9691d7abeb003aec52ef /src/view/com/notifications | |
parent | 11c9931fd2bc9db8a6e4e71ae04d71051f63191c (diff) | |
download | voidsky-08a83242906431acb06dde79467ec7dfdefa49f8.tar.zst |
Fix e2e (#8794)
* Only enable policy update overlay once the actual Overlay mounts (after onboarding and all that) * Disable policy overlay in e2e * Add comments * Add extra insurance * Rm log * Fix shared prefs test * Fix login flows by optionally closing 'Remember password' system dialog * Return missing testID * Bump dev-env
Diffstat (limited to 'src/view/com/notifications')
-rw-r--r-- | src/view/com/notifications/NotificationFeedItem.tsx | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/view/com/notifications/NotificationFeedItem.tsx b/src/view/com/notifications/NotificationFeedItem.tsx index d5aba86f7..dc048bd26 100644 --- a/src/view/com/notifications/NotificationFeedItem.tsx +++ b/src/view/com/notifications/NotificationFeedItem.tsx @@ -195,16 +195,18 @@ let NotificationFeedItem = ({ } const isHighlighted = highlightUnread && !item.notification.isRead return ( - <Post - post={item.subject} - style={ - isHighlighted && { - backgroundColor: pal.colors.unreadNotifBg, - borderColor: pal.colors.unreadNotifBorder, + <View testID={`feedItem-by-${item.notification.author.handle}`}> + <Post + post={item.subject} + style={ + isHighlighted && { + backgroundColor: pal.colors.unreadNotifBg, + borderColor: pal.colors.unreadNotifBorder, + } } - } - hideTopBorder={hideTopBorder} - /> + hideTopBorder={hideTopBorder} + /> + </View> ) } |