diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/call/CallScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/call/CallScreen.kt index 563c10f45..56e7ac14b 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/call/CallScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/call/CallScreen.kt @@ -40,6 +40,8 @@ import androidx.compose.foundation.layout.statusBars import androidx.compose.foundation.layout.windowInsetsPadding import androidx.compose.foundation.shape.CircleShape import androidx.compose.material.icons.Icons +import androidx.compose.material.icons.automirrored.filled.VolumeOff +import androidx.compose.material.icons.automirrored.filled.VolumeUp import androidx.compose.material.icons.filled.BluetoothAudio import androidx.compose.material.icons.filled.Call import androidx.compose.material.icons.filled.CallEnd @@ -571,8 +573,8 @@ private fun ConnectedCallUI( Icon( imageVector = when (currentAudioRoute) { - AudioRoute.EARPIECE -> Icons.Default.VolumeOff - AudioRoute.SPEAKER -> Icons.Default.VolumeUp + AudioRoute.EARPIECE -> Icons.AutoMirrored.Filled.VolumeOff + AudioRoute.SPEAKER -> Icons.AutoMirrored.Filled.VolumeUp AudioRoute.BLUETOOTH -> Icons.Default.BluetoothAudio }, contentDescription = diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/call/CallScreenPreviews.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/call/CallScreenPreviews.kt index 01e228faa..3bdb868f7 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/call/CallScreenPreviews.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/call/CallScreenPreviews.kt @@ -33,6 +33,8 @@ import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.foundation.shape.CircleShape import androidx.compose.material.icons.Icons +import androidx.compose.material.icons.automirrored.filled.VolumeOff +import androidx.compose.material.icons.automirrored.filled.VolumeUp import androidx.compose.material.icons.filled.BluetoothAudio import androidx.compose.material.icons.filled.Call import androidx.compose.material.icons.filled.CallEnd @@ -42,8 +44,6 @@ import androidx.compose.material.icons.filled.Person import androidx.compose.material.icons.filled.PersonAdd import androidx.compose.material.icons.filled.Videocam import androidx.compose.material.icons.filled.VideocamOff -import androidx.compose.material.icons.filled.VolumeOff -import androidx.compose.material.icons.filled.VolumeUp import androidx.compose.material3.FloatingActionButton import androidx.compose.material3.Icon import androidx.compose.material3.IconButton @@ -151,9 +151,9 @@ private fun PreviewCallControls( Icon( imageVector = when (audioRoute) { - "speaker" -> Icons.Default.VolumeUp + "speaker" -> Icons.AutoMirrored.Filled.VolumeUp "bluetooth" -> Icons.Default.BluetoothAudio - else -> Icons.Default.VolumeOff + else -> Icons.AutoMirrored.Filled.VolumeOff }, contentDescription = "Audio route", tint =