Skip to content

Commit

Permalink
Resolves #320 - check for protocol ("://" vs. "http")
Browse files Browse the repository at this point in the history
  • Loading branch information
zdmc23 committed May 3, 2021
1 parent b4b6f03 commit 2d665dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screens/Contact/ContactDetailScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -3474,7 +3474,7 @@ class ContactDetailScreen extends React.Component {
.filter((communicationChannel) => !communicationChannel.delete)
.map((communicationChannel, index) => (
<>
{communicationChannel?.value?.includes('http') ? (
{communicationChannel?.value?.includes('://') ? (
<TouchableOpacity
key={index.toString()}
activeOpacity={0.5}
Expand Down

0 comments on commit 2d665dc

Please sign in to comment.