Skip to content

Commit

Permalink
Make "someone already used that intro" message clearer (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis authored Oct 20, 2023
1 parent 39c975f commit c4388d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/conversation-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,14 +311,16 @@ const ConversationScreen = ({navigation, route}) => {
width: '100%',
alignSelf: 'center',
textAlign: 'center',
paddingLeft: 5,
paddingRight: 5,
opacity: lastMessageStatus === 'sent' || lastMessageStatus === null ? 0 : 1,
color: lastMessageStatus === 'timeout' ? 'red' : '#70f',
...(lastMessageStatus === 'timeout' ? {} : { fontFamily: 'Trueno' }),
}}
>
{lastMessageStatus === 'timeout' ? "Message not delivered. Are you online?" : '' }
{lastMessageStatus === 'blocked' ? name + ' is unavailable right now. Try messaging someone else!' : '' }
{lastMessageStatus === 'not unique' ? "Someone already used that intro! Try again!" : '' }
{lastMessageStatus === 'not unique' ? `Someone already sent that intro! Try sending ${name} a different message...` : '' }
</DefaultText>
{!messageFetchTimeout && !isDeletedUser &&
<TextInputWithButton onPress={onPressSend}/>
Expand Down

0 comments on commit c4388d6

Please sign in to comment.