revert(android): top-nav Library icon back to Lucide.LibraryBig
android / Build + lint + test (push) Has been cancelled
android / Build + lint + test (push) Has been cancelled
Operator polled another user and reversed the earlier swap to Material's LibraryMusic. Restore Lucide.LibraryBig and drop the material-icons-extended Gradle dependency we added for the intermediate icon, keeping the icon set Lucide-only.
This commit is contained in:
@@ -139,7 +139,6 @@ dependencies {
|
||||
implementation(libs.compose.ui)
|
||||
implementation(libs.compose.ui.graphics)
|
||||
implementation(libs.compose.material3)
|
||||
implementation(libs.compose.material.icons.extended)
|
||||
implementation(libs.compose.ui.text.google.fonts)
|
||||
debugImplementation(libs.compose.ui.tooling)
|
||||
implementation(libs.compose.ui.tooling.preview)
|
||||
|
||||
+2
-10
@@ -11,12 +11,11 @@ import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.mutableStateOf
|
||||
import androidx.compose.runtime.remember
|
||||
import androidx.compose.runtime.setValue
|
||||
import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.outlined.LibraryMusic
|
||||
import androidx.hilt.navigation.compose.hiltViewModel
|
||||
import androidx.lifecycle.compose.collectAsStateWithLifecycle
|
||||
import androidx.navigation.NavHostController
|
||||
import com.composables.icons.lucide.House
|
||||
import com.composables.icons.lucide.LibraryBig
|
||||
import com.composables.icons.lucide.Lucide
|
||||
import com.composables.icons.lucide.EllipsisVertical
|
||||
import com.composables.icons.lucide.Search as SearchIcon
|
||||
@@ -59,14 +58,7 @@ fun MainAppBarActions(
|
||||
}
|
||||
if (currentRouteName != Library::class.qualifiedName) {
|
||||
IconButton(onClick = { navController.navigate(Library) }) {
|
||||
// Intentional cross-family icon — Lucide has no
|
||||
// equivalent "library + music" glyph and the literal
|
||||
// library icons (Library / LibraryBig / SquareLibrary)
|
||||
// don't read as "music collection" without a label.
|
||||
// Material's Outlined LibraryMusic is the canonical
|
||||
// music-library symbol; the outlined variant matches
|
||||
// Lucide's stroke style closely enough to blend.
|
||||
Icon(Icons.Outlined.LibraryMusic, contentDescription = "Library")
|
||||
Icon(Lucide.LibraryBig, contentDescription = "Library")
|
||||
}
|
||||
}
|
||||
if (currentRouteName != SearchRoute::class.qualifiedName) {
|
||||
|
||||
@@ -51,11 +51,6 @@ compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics" }
|
||||
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
||||
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
||||
compose-material3 = { module = "androidx.compose.material3:material3" }
|
||||
# material-icons-extended supplies the full Material Icons catalog
|
||||
# (Outlined / Filled / Rounded / Sharp / TwoTone). We use the Outlined
|
||||
# variant for LibraryMusic — its stroke style blends with Lucide.
|
||||
# Version pinned by compose-bom.
|
||||
compose-material-icons-extended = { module = "androidx.compose.material:material-icons-extended" }
|
||||
compose-ui-text-google-fonts = { module = "androidx.compose.ui:ui-text-google-fonts" }
|
||||
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
|
||||
hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
|
||||
|
||||
Reference in New Issue
Block a user