Skip to content

Commit

Permalink
Fix spacer below recommended album
Browse files Browse the repository at this point in the history
  • Loading branch information
kendis1002 committed Jul 23, 2024
1 parent 9caac0a commit b96758c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions app/src/main/java/com/maxrave/simpmusic/data/parser/HomeParser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -347,15 +347,17 @@ fun parseMixedContent(data: List<SectionListRenderer.Content>?, context: Context
}
}
}
list.add(
HomeItem(
contents = listContent,
title = title,
subtitle = subtitle,
thumbnail = thumbnail,
channelId = if (artistChannelId?.contains("UC") == true) artistChannelId else null
if (title.isNotEmpty()) {
list.add(
HomeItem(
contents = listContent,
title = title,
subtitle = subtitle,
thumbnail = thumbnail,
channelId = if (artistChannelId?.contains("UC") == true) artistChannelId else null
)
)
)
}
Log.w("parse_mixed_content", list.toString())
}
}
Expand Down

0 comments on commit b96758c

Please sign in to comment.