diff --git a/__tests__/__snapshots__/Storyshots.test.js.snap b/__tests__/__snapshots__/Storyshots.test.js.snap index f1600b9e8..0ad82c0d0 100644 --- a/__tests__/__snapshots__/Storyshots.test.js.snap +++ b/__tests__/__snapshots__/Storyshots.test.js.snap @@ -72220,7 +72220,7 @@ exports[`Storyshots Thread Messages.Item badge 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -72539,7 +72585,7 @@ exports[`Storyshots Thread Messages.Item badge 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -72858,7 +72950,7 @@ exports[`Storyshots Thread Messages.Item badge 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -73164,7 +73302,7 @@ exports[`Storyshots Thread Messages.Item badge 1`] = ` "opacity": 1, } } - testID="discussions-view-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." + testID="thread-messages-view-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -73503,7 +73687,7 @@ exports[`Storyshots Thread Messages.Item content 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -73806,7 +74036,7 @@ exports[`Storyshots Thread Messages.Item content 1`] = ` "opacity": 1, } } - testID="discussions-view-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." + testID="thread-messages-view-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -74109,7 +74385,7 @@ exports[`Storyshots Thread Messages.Item content 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + +999 + + + + + + +  @@ -74412,7 +74734,7 @@ exports[`Storyshots Thread Messages.Item content 1`] = ` "opacity": 1, } } - testID="discussions-view-" + testID="thread-messages-view-" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -74715,7 +75083,7 @@ exports[`Storyshots Thread Messages.Item content 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -75038,7 +75452,7 @@ exports[`Storyshots Thread Messages.Item themes 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -75344,7 +75804,7 @@ exports[`Storyshots Thread Messages.Item themes 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  @@ -75650,7 +76156,7 @@ exports[`Storyshots Thread Messages.Item themes 1`] = ` "opacity": 1, } } - testID="discussions-view-Message content" + testID="thread-messages-view-Message content" > - 2020-11-10T10:00:00-04:00 + November 10, 2020 -  +  -  +  - November 10, 2020 + 1 + + + + + + +  diff --git a/app/containers/message/Attachments.tsx b/app/containers/message/Attachments.tsx index 311ad839a..8ca931836 100644 --- a/app/containers/message/Attachments.tsx +++ b/app/containers/message/Attachments.tsx @@ -49,7 +49,7 @@ const Attachments = React.memo( ); } if (file.actions && file.actions.length > 0) { - return ; + return ; } return ( diff --git a/app/views/ThreadMessagesView/Item.stories.js b/app/views/ThreadMessagesView/Item.stories.js index d829d92d0..0b3a37cf2 100644 --- a/app/views/ThreadMessagesView/Item.stories.js +++ b/app/views/ThreadMessagesView/Item.stories.js @@ -38,6 +38,7 @@ const BaseItem = ({ item, ...props }) => ( }} onPress={() => alert('pressed')} {...props} + thread /> );