Skip to content

Native Android client for Spotify, built with Jetpack Compose

Connect: Cast audio devices shown with the speaker icon

kota-zo219fd8b72fe8
diff --git a/base/app/src/main/java/com/music/spotui/ui/components/PlayerSheets.kt b/base/app/src/main/java/com/music/spotui/ui/components/PlayerSheets.kt
index fd8a9621..bd1049ae 100644
--- a/base/app/src/main/java/com/music/spotui/ui/components/PlayerSheets.kt
+++ b/base/app/src/main/java/com/music/spotui/ui/components/PlayerSheets.kt
@@ -153,7 +153,7 @@ fun playingExtensionName(): String? {
private fun deviceIcon(type: String): ImageVector = when (type.uppercase()) {
"SMARTPHONE", "TABLET" -> Icons.Default.Smartphone
- "SPEAKER", "AVR", "STB", "AUDIO_DONGLE" -> Icons.Default.Speaker
+ "SPEAKER", "AVR", "STB", "AUDIO_DONGLE", "CAST_AUDIO" -> Icons.Default.Speaker
"TV", "CAST_VIDEO", "GAME_CONSOLE" -> Icons.Default.Tv
else -> Icons.Default.Computer
}