Switch to double quotes and reformat codebase with Biome

This commit is contained in:
Mohamed Boudra
2026-03-21 20:22:15 +07:00
parent ab40786882
commit f6579dbeb4
805 changed files with 38132 additions and 40175 deletions
+3 -11
View File
@@ -9,14 +9,9 @@ export function VoicePanel() {
const { theme } = useUnistyles();
const daemons = useHosts();
const { volume, isSpeaking } = useVoiceTelemetry();
const {
isMuted,
stopVoice,
toggleMute,
activeServerId,
} = useVoice();
const { isMuted, stopVoice, toggleMute, activeServerId } = useVoice();
const hostLabel = activeServerId
? daemons.find((daemon) => daemon.serverId === activeServerId)?.label ?? null
? (daemons.find((daemon) => daemon.serverId === activeServerId)?.label ?? null)
: null;
const hostSuffix = hostLabel ? ` (${hostLabel})` : "";
@@ -38,10 +33,7 @@ export function VoicePanel() {
onPress={toggleMute}
accessibilityRole="button"
accessibilityLabel={`${isMuted ? "Unmute voice" : "Mute voice"}${hostSuffix}`}
style={[
styles.iconButton,
isMuted && styles.iconButtonMuted,
]}
style={[styles.iconButton, isMuted && styles.iconButtonMuted]}
>
<MicOff
size={18}