Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(CLNP-3087): message threading #181

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update uikit-tools version
  • Loading branch information
OnestarLee committed Jun 13, 2024
commit 2baa437af654fdab01c7eab5caee4034e3031721
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const ThreadParentMessageUserOg = (props: Props) => {
</Text>
</PressBox>
{userMessage.ogMetaData && enableOgtag && (
<PressBox activeOpacity={0.85} onPress={onPressMessage(userMessage)}>
<PressBox onPress={onPressMessage(userMessage)} style={styles.container}>
<Box>
{!!userMessage.ogMetaData.defaultImage && (
<ImageWithPlaceholder style={styles.ogImage} source={{ uri: userMessage.ogMetaData.defaultImage.url }} />
Expand Down Expand Up @@ -97,16 +97,23 @@ const ThreadParentMessageUserOg = (props: Props) => {
};

const styles = createStyleSheet({
ogContainer: {
container: {
borderRadius: 16,
overflow: 'hidden',
},
ogContainer: {
paddingHorizontal: 12,
paddingTop: 8,
paddingBottom: 12,
maxWidth: 240,
borderBottomLeftRadius: 16,
borderBottomRightRadius: 16,
},
ogImage: {
width: 240,
height: 136,
borderTopLeftRadius: 16,
borderTopRightRadius: 16,
},
ogUrl: {
marginBottom: 4,
Expand Down