fix(android): Lucide.Shuffle in LibraryScreen — Shuffle is an extension
92a9b55 used the FQN com.composables.icons.lucide.Lucide.Shuffle
inline, but Shuffle is an extension property on the Lucide companion
declared at com.composables.icons.lucide.Shuffle — it has to be
imported into scope. Other files (AlbumDetailScreen,
PlaylistDetailScreen) follow the same pattern.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -43,6 +43,8 @@ import com.fabledsword.minstrel.models.ArtistRef
|
|||||||
import com.fabledsword.minstrel.nav.AlbumDetail
|
import com.fabledsword.minstrel.nav.AlbumDetail
|
||||||
import com.fabledsword.minstrel.nav.ArtistDetail
|
import com.fabledsword.minstrel.nav.ArtistDetail
|
||||||
import com.fabledsword.minstrel.nav.Library
|
import com.fabledsword.minstrel.nav.Library
|
||||||
|
import com.composables.icons.lucide.Lucide
|
||||||
|
import com.composables.icons.lucide.Shuffle
|
||||||
import com.fabledsword.minstrel.shared.widgets.EmptyState
|
import com.fabledsword.minstrel.shared.widgets.EmptyState
|
||||||
import com.fabledsword.minstrel.shared.widgets.ErrorRetry
|
import com.fabledsword.minstrel.shared.widgets.ErrorRetry
|
||||||
import com.fabledsword.minstrel.shared.widgets.MainAppBarActions
|
import com.fabledsword.minstrel.shared.widgets.MainAppBarActions
|
||||||
@@ -87,7 +89,7 @@ fun LibraryScreen(
|
|||||||
actions = {
|
actions = {
|
||||||
IconButton(onClick = viewModel::shuffleAll) {
|
IconButton(onClick = viewModel::shuffleAll) {
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = com.composables.icons.lucide.Lucide.Shuffle,
|
imageVector = Lucide.Shuffle,
|
||||||
contentDescription = "Shuffle all",
|
contentDescription = "Shuffle all",
|
||||||
tint = MaterialTheme.colorScheme.onSurface,
|
tint = MaterialTheme.colorScheme.onSurface,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user