chore: add Lucide icons dependency and replace Material Icons in navigation
This commit is contained in:
@@ -93,6 +93,7 @@ dependencies {
|
||||
implementation(libs.media3.session)
|
||||
|
||||
implementation(libs.coil.compose)
|
||||
implementation(libs.lucide)
|
||||
|
||||
testImplementation(libs.junit)
|
||||
testImplementation(libs.mockk)
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
package com.radiola.ui.navigation
|
||||
|
||||
import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.filled.Favorite
|
||||
import androidx.compose.material.icons.filled.Home
|
||||
import androidx.compose.material.icons.filled.Settings
|
||||
import androidx.compose.material.icons.filled.History
|
||||
import androidx.compose.ui.graphics.vector.ImageVector
|
||||
import com.composables.icons.lucide.Lucide
|
||||
import com.composables.icons.lucide.Heart
|
||||
import com.composables.icons.lucide.History
|
||||
import com.composables.icons.lucide.Home
|
||||
import com.composables.icons.lucide.Settings
|
||||
|
||||
sealed class NavDestinations(
|
||||
val route: String,
|
||||
val labelRes: String,
|
||||
val icon: ImageVector
|
||||
) {
|
||||
data object Stations : NavDestinations("stations", "Радио", Icons.Default.Home)
|
||||
data object Favorites : NavDestinations("favorites", "Избранное", Icons.Default.Favorite)
|
||||
data object History : NavDestinations("history", "История", Icons.Default.History)
|
||||
data object Settings : NavDestinations("settings", "Настройки", Icons.Default.Settings)
|
||||
data object Stations : NavDestinations("stations", "Радио", Lucide.Home)
|
||||
data object Favorites : NavDestinations("favorites", "Избранное", Lucide.Heart)
|
||||
data object History : NavDestinations("history", "История", Lucide.History)
|
||||
data object Settings : NavDestinations("settings", "Настройки", Lucide.Settings)
|
||||
|
||||
companion object {
|
||||
val items = listOf(Stations, Favorites, History, Settings)
|
||||
|
||||
1372
docs/superpowers/plans/2026-06-01-radiola-ui-screens.md
Normal file
1372
docs/superpowers/plans/2026-06-01-radiola-ui-screens.md
Normal file
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,7 @@ datastore = "1.1.1"
|
||||
media3 = "1.3.1"
|
||||
coil = "2.6.0"
|
||||
navigation = "2.7.7"
|
||||
lucide = "1.0.0"
|
||||
mockk = "1.13.11"
|
||||
turbine = "1.1.0"
|
||||
coroutinesTest = "1.8.1"
|
||||
@@ -38,6 +39,7 @@ androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-man
|
||||
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
|
||||
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
|
||||
androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigation" }
|
||||
lucide = { group = "com.composables", name = "icons-lucide", version.ref = "lucide" }
|
||||
androidx-hilt-navigation-compose = { group = "androidx.hilt", name = "hilt-navigation-compose", version = "1.2.0" }
|
||||
|
||||
hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
|
||||
|
||||
Reference in New Issue
Block a user