Skip to content

Commit c931ff0

Browse files
MRN-904, MRN-905
1 parent fb76255 commit c931ff0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ios/mirrorfly_rn.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@
714714
"-lc++",
715715
);
716716
PRODUCT_BUNDLE_IDENTIFIER = com.mirrorfly.reactnativeuikit.qa;
717-
PRODUCT_NAME = mirrorfly_rn;
717+
PRODUCT_NAME = mirrorfly_rn;
718718
PROVISIONING_PROFILE_SPECIFIER = "";
719719
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "ReactNative Adhoc";
720720
SWIFT_OBJC_BRIDGING_HEADER = "mirrorfly_rn-Bridging-Header.h";

src/components/TextCard.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,18 @@ export const ChatConversationHighlightedText = ({ textStyle = {}, text, searchVa
106106

107107
// If no match, render normally
108108
const urlStyle = segment.isUrl ? styles.underline : {};
109-
return (
109+
return segment.isUrl ? (
110110
<Text
111111
key={randomString()}
112112
style={[textStyle, urlStyle]}
113113
onPress={() => segment.isUrl && handlePress(segment.content)}
114114
suppressHighlighting={!segment.isUrl}>
115115
{content}
116116
</Text>
117+
) : (
118+
<Text key={randomString()} style={[textStyle]}>
119+
{content}
120+
</Text>
117121
);
118122
})}
119123
</Text>

0 commit comments

Comments
 (0)