diff --git a/native/chat/inline-sidebar.react.js b/native/chat/inline-sidebar.react.js --- a/native/chat/inline-sidebar.react.js +++ b/native/chat/inline-sidebar.react.js @@ -2,7 +2,6 @@ import * as React from 'react'; import { Text, View } from 'react-native'; -import Icon from 'react-native-vector-icons/Feather'; import useInlineSidebarText from 'lib/hooks/inline-sidebar-text.react'; import type { ThreadInfo } from 'lib/types/thread-types'; @@ -26,30 +25,12 @@ }, [navigateToThread, threadInfo]); const styles = useStyles(unboundStyles); - let viewerIcon, nonViewerIcon, alignStyle; - if (props.positioning === 'right') { - viewerIcon = ; - alignStyle = styles.rightAlign; - } else if (props.positioning === 'left') { - nonViewerIcon = ( - - ); - alignStyle = styles.leftAlign; - } else { - nonViewerIcon = ( - - ); - alignStyle = styles.centerAlign; - } - const unreadStyle = threadInfo.currentUser.unread ? styles.unread : null; return ( - + ); @@ -58,8 +39,6 @@ const unboundStyles = { content: { flexDirection: 'row', - marginRight: 30, - marginLeft: 10, flex: 1, height: inlineSidebarHeight, }, @@ -82,15 +61,6 @@ paddingLeft: 4, paddingRight: 2, }, - leftAlign: { - justifyContent: 'flex-start', - }, - rightAlign: { - justifyContent: 'flex-end', - }, - centerAlign: { - justifyContent: 'center', - }, }; export default InlineSidebar;