Skip to content

Commit

Permalink
fix(phone/call): show anon for call notis
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Sep 24, 2023
1 parent 50b105b commit f0dc76e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/phone/src/os/call/hooks/useCallNotifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export const useCallNotifications = () => {
content: (
<CallNotification>
{t('DIALER.MESSAGES.TRANSMITTER_IS_CALLING', {
transmitter: contactDisplay(call.transmitter) || call.transmitter,
transmitter: call.isAnonymous
? 'Anonymous'
: contactDisplay(call.transmitter) || call.transmitter,
})}
</CallNotification>
),
Expand Down

0 comments on commit f0dc76e

Please sign in to comment.