Skip to content

Commit 37aa989

Browse files
committed
invert empty list component
1 parent 7d93dd3 commit 37aa989

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/MessageList/MessageList.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ const styles = StyleSheet.create({
9292
paddingBottom: 4,
9393
},
9494
flex: { flex: 1 },
95+
invert: { transform: [{ scaleY: -1 }] },
9596
listContainer: {
9697
flex: 1,
9798
width: '100%',
@@ -852,7 +853,7 @@ const MessageListWithContext = <
852853
}
853854
};
854855
const renderListEmptyComponent = () => (
855-
<View style={styles.flex} testID='empty-state'>
856+
<View style={[styles.flex, styles.invert]} testID='empty-state'>
856857
<EmptyStateIndicator listType='message' />
857858
</View>
858859
);

0 commit comments

Comments
 (0)