fix(app): backport rendering improvements (#1580)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-13 19:52:00 +02:00
1 parent 0c291a01da
commit 42cdc1f877
513 files changed
+98743 -70397

No files matched your search

@@ -7,6 +7,7 @@ import {useMaybeMessageViewContext} from '@app/features/channel/components/Messa
import {PAUSE_DESCRIPTOR, PLAY_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
import {buildMediaProxyURL} from '@app/features/messaging/utils/MediaProxyUtils';
import {Logger} from '@app/features/platform/utils/AppLogger';
import {remFromPx} from '@app/features/theme/layout/RemFromPx';
import {MediaContextMenu} from '@app/features/ui/action_menu/MediaContextMenu';
import * as ContextMenuCommands from '@app/features/ui/commands/ContextMenuCommands';
import MobileLayout from '@app/features/ui/state/MobileLayout';
@@ -326,9 +327,17 @@ const VoiceMessagePlayer: React.FC<VoiceMessagePlayerProps> = observer(
data-flx="channel.embeds.media.voice-message-player.play-button-icon"
>
{state.isPlaying ? (
<PauseIcon size={16} weight="fill" data-flx="channel.embeds.media.voice-message-player.pause-icon" />
<PauseIcon
size={remFromPx(16)}
weight="fill"
data-flx="channel.embeds.media.voice-message-player.pause-icon"
/>
) : (
<PlayIcon size={16} weight="fill" data-flx="channel.embeds.media.voice-message-player.play-icon" />
<PlayIcon
size={remFromPx(16)}
weight="fill"
data-flx="channel.embeds.media.voice-message-player.play-icon"
/>
)}
</motion.div>
</AnimatePresence>