Skip to content

Instantly share code, notes, and snippets.

@Ashoat
Created May 1, 2023 19:57
Show Gist options
  • Save Ashoat/f0f00496d17db8df18c2cf21f753f469 to your computer and use it in GitHub Desktop.
Save Ashoat/f0f00496d17db8df18c2cf21f753f469 to your computer and use it in GitHub Desktop.
diff --git a/native/chat/composed-message.react.js b/native/chat/composed-message.react.js
index 7504d8149..546825a38 100644
--- a/native/chat/composed-message.react.js
+++ b/native/chat/composed-message.react.js
@@ -3,7 +3,7 @@
import Icon from '@expo/vector-icons/Feather.js';
import invariant from 'invariant';
import * as React from 'react';
-import { StyleSheet, View } from 'react-native';
+import { StyleSheet, View, Text } from 'react-native';
import Animated from 'react-native-reanimated';
import { getMessageLabel } from 'lib/shared/edit-messages-utils.js';
@@ -153,18 +153,16 @@ class ComposedMessage extends React.PureComponent<Props> {
const messageBox = (
<View style={messageBoxStyleContainerStyle}>
- <SwipeableMessage
- triggerReply={triggerReply}
- triggerSidebar={triggerSidebar}
- isViewer={isViewer}
- messageBoxStyle={swipeableMessageBoxStyle}
- threadColor={item.threadInfo.color}
- >
+ <View style={{ height: 10, backgroundColor: 'blue' }} />
+ <View style={{ width: composedMessageMaxWidth, alignItems: 'flex-end', flexDirection: 'row' }}>
{avatar}
- <AnimatedView style={{ opacity: contentAndHeaderOpacity }}>
- {children}
- </AnimatedView>
- </SwipeableMessage>
+ <View style={{ paddingHorizontal: 12, paddingVertical: 6, backgroundColor: 'red', flexDirection: 'row' }}>
+ <Text>
+ 1.
+ </Text>
+ <Text>Hello hello hello hello hello hello hello hello hell hello helloo</Text>
+ </View>
+ </View>
</View>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment