Skip to content

Commit

Permalink
chore: updated read receipt icon and color
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak committed Jan 30, 2025
1 parent 494e591 commit 3d8e86e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
Binary file modified android/app/src/main/assets/fonts/custom.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions app/containers/CustomIcon/mappedIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const mappedIcons = {
'chat-close': 59701,
'chat-forward': 59702,
'check': 59703,
'check-double': 59855,
'checkbox-checked': 59654,
'checkbox-unchecked': 59653,
'chevron-down': 59704,
Expand Down
2 changes: 1 addition & 1 deletion app/containers/CustomIcon/selection.json

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions app/containers/message/Components/RightIcons/ReadReceipt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ import { useTheme } from '../../../../theme';

const ReadReceipt = React.memo(({ isReadReceiptEnabled, unread }: { isReadReceiptEnabled?: boolean; unread?: boolean }) => {
const { colors } = useTheme();
const iconName = !unread && unread !== null ? 'check-double' : 'check';
const iconColor = !unread && unread !== null ? colors.fontInfo : colors.fontAnnotation;

if (isReadReceiptEnabled) {
return (
<CustomIcon
name='check'
color={!unread && unread !== null ? colors.badgeBackgroundLevel2 : colors.fontHint}
size={16}
style={styles.rightIcons}
/>
);
return <CustomIcon name={iconName} color={iconColor} size={16} style={styles.rightIcons} />;
}
return null;
});
Expand Down
Binary file modified ios/custom.ttf
Binary file not shown.

0 comments on commit 3d8e86e

Please sign in to comment.