Skip to content

Commit

Permalink
Proper padding added
Browse files Browse the repository at this point in the history
  • Loading branch information
UmairKhalid786 committed Feb 13, 2025
1 parent 4f56877 commit 656fcdf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ fun HorizontalCarouselItem(
onItemFocus: (parentId: String, childId: String) -> Unit,
onItemClick: (parentId: String, childId: String) -> Unit,
) {
Column(Modifier.height(150.dp)) {
Text(text = parent.title, modifier = Modifier.padding(horizontal = 52.dp))
Column(
Modifier
.height(150.dp)
.padding(top = 16.dp)
) {
Text(text = parent.title, modifier = Modifier.padding(horizontal = 52.dp, vertical = 4.dp))
PositionFocusedItemInLazyLayout(
parentFraction = 0.1f,
childFraction = 0.1f,
Expand Down Expand Up @@ -58,7 +62,11 @@ fun HorizontalCarouselItemPrev() {
id = "1",
title = "Title",
type = "Type",
items = List(10) { CardPayload(id = "abc$it", title = "Card $it", image = "empty", promo = "") },
items = List(10) {
CardPayload(
id = "abc$it", title = "Card $it", image = "empty", promo = ""
)
},
),
onItemFocus = { _, _ -> },
onItemClick = { _, _ -> },
Expand Down
2 changes: 1 addition & 1 deletion network/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {
consumerProguardFiles("consumer-rules.pro")

buildConfigField("String", "BASE_URL", "\"https://api.themoviedb.org/3\"")
buildConfigField("String", "TMDB_API_KEY", "\"9f0fc0d5b4ddb923a3b006aa11a4e8ac\"")
buildConfigField("String", "TMDB_API_KEY", "\"\"")
}

buildTypes {
Expand Down

0 comments on commit 656fcdf

Please sign in to comment.