Skip to content

Commit

Permalink
UI Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GrakovNe committed Nov 17, 2024
1 parent dc557fd commit ff5de10
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,21 @@ fun NavigationBarComposable(
NavigationBarItem(
icon = {
Icon(
Icons.Outlined.SlowMotionVideo,
contentDescription = stringResource(R.string.player_screen_playback_speed_navigation),
Icons.Outlined.Book,
contentDescription = stringResource(R.string.player_screen_chapter_list_navigation),
modifier = Modifier.size(iconSize)
)
},
label = {
Text(
text = stringResource(R.string.player_screen_playback_speed_navigation),
text = stringResource(R.string.player_screen_chapter_list_navigation),
style = labelStyle,
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
},
selected = false,
onClick = { playbackSpeedExpanded = true },
enabled = true,
selected = playingQueueExpanded,
onClick = { viewModel.togglePlayingQueue() },
colors = NavigationBarItemDefaults.colors(
selectedIconColor = colorScheme.primary,
indicatorColor = colorScheme.surfaceContainer
Expand All @@ -111,21 +110,22 @@ fun NavigationBarComposable(
NavigationBarItem(
icon = {
Icon(
Icons.Outlined.Book,
contentDescription = stringResource(R.string.player_screen_chapter_list_navigation),
Icons.Outlined.SlowMotionVideo,
contentDescription = stringResource(R.string.player_screen_playback_speed_navigation),
modifier = Modifier.size(iconSize)
)
},
label = {
Text(
text = stringResource(R.string.player_screen_chapter_list_navigation),
text = stringResource(R.string.player_screen_playback_speed_navigation),
style = labelStyle,
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
},
selected = playingQueueExpanded,
onClick = { viewModel.togglePlayingQueue() },
selected = false,
onClick = { playbackSpeedExpanded = true },
enabled = true,
colors = NavigationBarItemDefaults.colors(
selectedIconColor = colorScheme.primary,
indicatorColor = colorScheme.surfaceContainer
Expand Down

0 comments on commit ff5de10

Please sign in to comment.