fix mic color and tooltip

This commit is contained in:
Arjun 2026-02-03 10:29:25 +05:30
parent 3542f10a6c
commit 4ca64d9486

View file

@ -265,12 +265,12 @@ function VoiceNoteButton() {
{isRecording ? ( {isRecording ? (
<Square className="size-4 fill-red-500 text-red-500 animate-pulse" /> <Square className="size-4 fill-red-500 text-red-500 animate-pulse" />
) : ( ) : (
<Mic className="size-4 text-red-500" /> <Mic className="size-4" />
)} )}
</button> </button>
</TooltipTrigger> </TooltipTrigger>
<TooltipContent side="bottom"> <TooltipContent side="bottom">
{isRecording ? 'Stop Recording' : 'Voice Note'} {isRecording ? 'Stop Recording' : 'New Voice Note'}
</TooltipContent> </TooltipContent>
</Tooltip> </Tooltip>
) )