Switching icons to the new packages

This commit is contained in:
Vitor Pamplona
2026-04-06 09:10:17 -04:00
parent fb8802369f
commit 2dc260d696
2 changed files with 8 additions and 6 deletions
@@ -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 =
@@ -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 =