Skip to content

Commit

Permalink
Merge pull request #172 from mattcarter11/fix-163
Browse files Browse the repository at this point in the history
playlist: small fixes
  • Loading branch information
mikooomich authored Jan 1, 2025
2 parents 51431f4 + 89eab3f commit 19ef148
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions app/src/main/java/com/dd3boh/outertune/ui/component/Items.kt
Original file line number Diff line number Diff line change
Expand Up @@ -831,18 +831,19 @@ fun AutoPlaylistGridItem(
playlist: PlaylistEntity,
thumbnail: ImageVector,
modifier: Modifier = Modifier,
badges: @Composable RowScope.() -> Unit = { },
fillMaxWidth: Boolean = false,
) = GridItem(
title = playlist.name,
subtitle = stringResource(id = R.string.auto_playlist),
badges = badges,
thumbnailContent = {
val width = maxWidth
Box(
modifier = Modifier
.fillMaxSize()
.background(MaterialTheme.colorScheme.surfaceColorAtElevation(6.dp))
.background(
MaterialTheme.colorScheme.surfaceColorAtElevation(6.dp),
shape = RoundedCornerShape(ThumbnailCornerRadius)
)
) {
Icon(
imageVector = thumbnail,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ fun SetupWizard(
// local media
3 -> {
Text(
text = "Local Media",
text = "Local media",
style = MaterialTheme.typography.headlineLarge,
fontWeight = FontWeight.Bold,
modifier = Modifier
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,9 @@
<string name="lyrics_trim_title">Remove spaces around lyrics</string>

<!-- Local player settings -->
<string name="local_library_enable_title">Enable Local Media</string>
<string name="local_library_enable_title">Enable local media</string>
<string name="local_library_enable_description">Disabling will hide local library from the app</string>
<string name="local_player_settings_title">Local Media</string>
<string name="local_player_settings_title">Local media</string>
<string name="flat_subfolders_title">Flatten subfolders</string>
<string name="flat_subfolders_description">Disable to preserve the file structure as on disk</string>

Expand Down

0 comments on commit 19ef148

Please sign in to comment.