remove text from nav

This commit is contained in:
2026-07-29 19:02:12 +03:00
parent ab14a86305
commit 70764a06d1
2 changed files with 27 additions and 30 deletions
@@ -24,7 +24,6 @@ import androidx.compose.material3.NavigationRailItem
import androidx.compose.material3.Scaffold
import androidx.compose.material3.SnackbarHost
import androidx.compose.material3.SnackbarHostState
import androidx.compose.material3.Text
import androidx.compose.material3.TopAppBarDefaults
import androidx.compose.material3.TopAppBarScrollBehavior
import androidx.compose.runtime.Composable
@@ -137,8 +136,7 @@ private fun <T : Route> BottomBar(
NavigationBarItem(
selected = currentRoute == entry.route,
onClick = { onSelectNavigation?.invoke(entry.route) },
icon = { Icon(entry.painter, contentDescription = entry.title) },
label = { Text(entry.title) }
icon = { Icon(entry.painter, contentDescription = entry.title) }
)
}
}
@@ -165,8 +163,7 @@ private fun <T : Route> ExpandedContent(
NavigationRailItem(
selected = currentRoute == entry.route,
onClick = { onSelectNavigation?.invoke(entry.route) },
icon = { Icon(entry.painter, contentDescription = entry.title) },
label = { Text(entry.title) }
icon = { Icon(entry.painter, contentDescription = entry.title) }
)
}
}