Skip to content

Commit 2eae6b6

Browse files
committed
Fix icons
1 parent db9ea02 commit 2eae6b6

25 files changed

Lines changed: 116 additions & 118 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ skills-lock.json
9393
CLAUDE.local.md
9494
AGENTS.md
9595
.superset/
96+
.jest-cache/
292 Bytes
Binary file not shown.

app/containers/CallHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const CallHeader = ({ mic, cam, setCam, setMic, title, avatar, uid, name,
5555
style={[style.iconCallContainerRight, { backgroundColor: handleColors(cam).button }]}
5656
hitSlop={BUTTON_HIT_SLOP}
5757
enabled={!calling}>
58-
<CustomIcon name={cam ? 'camera' : 'camera-disabled'} size={24} color={handleColors(cam).icon} />
58+
<CustomIcon name={cam ? 'camera-filled' : 'camera-disabled'} size={24} color={handleColors(cam).icon} />
5959
</Touch>
6060
</A11y.Index>
6161
<A11y.Index index={2}>
@@ -65,7 +65,7 @@ export const CallHeader = ({ mic, cam, setCam, setMic, title, avatar, uid, name,
6565
style={[style.iconCallContainer, { backgroundColor: handleColors(mic).button }]}
6666
hitSlop={BUTTON_HIT_SLOP}
6767
enabled={!calling}>
68-
<CustomIcon name={mic ? 'microphone' : 'microphone-disabled'} size={24} color={handleColors(mic).icon} />
68+
<CustomIcon name={mic ? 'mic' : 'mic-off'} size={24} color={handleColors(mic).icon} />
6969
</Touch>
7070
</A11y.Index>
7171
</View>

app/containers/CustomIcon/mappedIcons.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ export const mappedIcons = {
2323
'arrow-up': 59680,
2424
'arrow-up-box': 59679,
2525
'attach': 59676,
26-
'audio': 59683,
27-
'audio-disabled': 59681,
28-
'audio-unavailable': 59682,
2926
'auditing': 59684,
3027
'auth': 59685,
3128
'avatar': 59686,
@@ -36,7 +33,6 @@ export const mappedIcons = {
3633
'burger': 59813,
3734
'business': 59690,
3835
'calendar': 59691,
39-
'camera': 59696,
4036
'camera-disabled': 59692,
4137
'camera-filled': 59693,
4238
'camera-photo': 59694,
@@ -141,8 +137,8 @@ export const mappedIcons = {
141137
'message': 59786,
142138
'message-disabled': 59785,
143139
'meteor-monochromatic': 59659,
144-
'microphone': 59788,
145-
'microphone-disabled': 59787,
140+
'mic': 59682,
141+
'mic-off': 59681,
146142
'mobile': 59789,
147143
'moon': 59790,
148144
'move-to-the-queue': 59791,
@@ -159,7 +155,7 @@ export const mappedIcons = {
159155
'pause-shape-filled': 59843,
160156
'pause-shape-unfilled': 59880,
161157
'percentage': 59777,
162-
'phone': 59806,
158+
'phone': 59683,
163159
'phone-disabled': 59804,
164160
'phone-in': 59809,
165161
'phone-issue': 59879,
@@ -221,9 +217,13 @@ export const mappedIcons = {
221217
'user': 59861,
222218
'user-add': 59859,
223219
'user-forward': 59860,
220+
'video': 59696,
224221
'view-condensed': 59862,
225222
'view-extended': 59863,
226223
'view-medium': 59864,
224+
'volume': 59806,
225+
'volume-disabled': 59787,
226+
'volume-off': 59788,
227227
'waiting-on-me': 59865,
228228
'warning': 59866,
229229
'whatsapp-monochromatic': 59868,

app/containers/CustomIcon/selection.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

app/containers/MessageComposer/__snapshots__/MessageComposer.test.tsx.snap

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ exports[`MessageComposer Audio tap record 1`] = `
4747
]
4848
}
4949
>
50-
50+
5151
</Text>
5252
<Text
5353
style={
@@ -473,7 +473,7 @@ exports[`MessageComposer Quote Add quote \`abc\` 1`] = `
473473
]
474474
}
475475
>
476-
476+
477477
</Text>
478478
</View>
479479
</RNGestureHandlerButton>
@@ -916,7 +916,7 @@ exports[`MessageComposer Quote Add quote \`def\` 1`] = `
916916
]
917917
}
918918
>
919-
919+
920920
</Text>
921921
</View>
922922
</RNGestureHandlerButton>
@@ -1541,7 +1541,7 @@ exports[`MessageComposer Quote Remove a quote 1`] = `
15411541
]
15421542
}
15431543
>
1544-
1544+
15451545
</Text>
15461546
</View>
15471547
</RNGestureHandlerButton>
@@ -2542,7 +2542,7 @@ exports[`MessageComposer Toolbar Markdown tap bold 1`] = `
25422542
]
25432543
}
25442544
>
2545-
2545+
25462546
</Text>
25472547
</View>
25482548
</RNGestureHandlerButton>
@@ -3153,7 +3153,7 @@ exports[`MessageComposer Toolbar Markdown tap code 1`] = `
31533153
]
31543154
}
31553155
>
3156-
3156+
31573157
</Text>
31583158
</View>
31593159
</RNGestureHandlerButton>
@@ -3764,7 +3764,7 @@ exports[`MessageComposer Toolbar Markdown tap code-block 1`] = `
37643764
]
37653765
}
37663766
>
3767-
3767+
37683768
</Text>
37693769
</View>
37703770
</RNGestureHandlerButton>
@@ -4375,7 +4375,7 @@ exports[`MessageComposer Toolbar Markdown tap italic 1`] = `
43754375
]
43764376
}
43774377
>
4378-
4378+
43794379
</Text>
43804380
</View>
43814381
</RNGestureHandlerButton>
@@ -4986,7 +4986,7 @@ exports[`MessageComposer Toolbar Markdown tap markdown 1`] = `
49864986
]
49874987
}
49884988
>
4989-
4989+
49904990
</Text>
49914991
</View>
49924992
</RNGestureHandlerButton>
@@ -5597,7 +5597,7 @@ exports[`MessageComposer Toolbar Markdown tap strike 1`] = `
55975597
]
55985598
}
55995599
>
5600-
5600+
56015601
</Text>
56025602
</View>
56035603
</RNGestureHandlerButton>
@@ -6208,7 +6208,7 @@ exports[`MessageComposer Toolbar Markdown type test and tap bold 1`] = `
62086208
]
62096209
}
62106210
>
6211-
6211+
62126212
</Text>
62136213
</View>
62146214
</RNGestureHandlerButton>
@@ -6819,7 +6819,7 @@ exports[`MessageComposer Toolbar Markdown type test and tap code 1`] = `
68196819
]
68206820
}
68216821
>
6822-
6822+
68236823
</Text>
68246824
</View>
68256825
</RNGestureHandlerButton>
@@ -7430,7 +7430,7 @@ exports[`MessageComposer Toolbar Markdown type test and tap code-block 1`] = `
74307430
]
74317431
}
74327432
>
7433-
7433+
74347434
</Text>
74357435
</View>
74367436
</RNGestureHandlerButton>
@@ -8041,7 +8041,7 @@ exports[`MessageComposer Toolbar Markdown type test and tap italic 1`] = `
80418041
]
80428042
}
80438043
>
8044-
8044+
80458045
</Text>
80468046
</View>
80478047
</RNGestureHandlerButton>
@@ -8652,7 +8652,7 @@ exports[`MessageComposer Toolbar Markdown type test and tap strike 1`] = `
86528652
]
86538653
}
86548654
>
8655-
8655+
86568656
</Text>
86578657
</View>
86588658
</RNGestureHandlerButton>
@@ -9111,7 +9111,7 @@ exports[`MessageComposer Toolbar tap actions 1`] = `
91119111
]
91129112
}
91139113
>
9114-
9114+
91159115
</Text>
91169116
</View>
91179117
</RNGestureHandlerButton>
@@ -9570,7 +9570,7 @@ exports[`MessageComposer Toolbar tap emoji 1`] = `
95709570
]
95719571
}
95729572
>
9573-
9573+
95749574
</Text>
95759575
</View>
95769576
</RNGestureHandlerButton>
@@ -11474,7 +11474,7 @@ exports[`MessageComposer Toolbar tap mention 1`] = `
1147411474
]
1147511475
}
1147611476
>
11477-
11477+
1147811478
</Text>
1147911479
</View>
1148011480
</RNGestureHandlerButton>

app/containers/MessageComposer/components/Buttons/ActionsButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const ActionsButton = () => {
6161
},
6262
{
6363
title: I18n.t('Take_a_video'),
64-
icon: 'camera',
64+
icon: 'video',
6565
onPress: () => {
6666
hideActionSheet();
6767
// This is necessary because the action sheet does not close properly on Android

app/containers/MessageComposer/components/Buttons/MicOrSendButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const MicOrSendButton = (): React.ReactElement | null => {
6969
onPress={startRecording}
7070
testID='message-composer-send-audio'
7171
accessibilityLabel='Record_audio_message'
72-
icon='microphone'
72+
icon='mic'
7373
/>
7474
);
7575
}

app/containers/MessageComposer/components/RecordAudio/RecordAudio.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const RecordAudio = (): ReactElement | null => {
144144
return (
145145
<View style={styles.recording}>
146146
<View style={styles.duration}>
147-
<CustomIcon name='microphone' size={24} color={colors.fontDanger} />
147+
<CustomIcon name='mic' size={24} color={colors.fontDanger} />
148148
<Duration ref={durationRef} />
149149
</View>
150150
<View style={styles.buttons}>

app/containers/NewMediaCall/__snapshots__/CreateCall.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ exports[`Story Snapshots: Disabled should match snapshot 1`] = `
7575
]
7676
}
7777
>
78-
78+
7979
</Text>
8080
<Text
8181
style={
@@ -174,7 +174,7 @@ exports[`Story Snapshots: Enabled should match snapshot 1`] = `
174174
]
175175
}
176176
>
177-
177+
178178
</Text>
179179
<Text
180180
style={

0 commit comments

Comments
 (0)