Skip to content

Commit 959c610

Browse files
committed
apply proper padding
1 parent f897cf5 commit 959c610

File tree

1 file changed

+3
-2
lines changed
  • media/src/main/kotlin/com/imashnake/animite/media

1 file changed

+3
-2
lines changed

media/src/main/kotlin/com/imashnake/animite/media/MediaPage.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ import com.imashnake.animite.api.anilist.sanitize.media.MediaList
115115
import com.imashnake.animite.api.anilist.type.MediaType
116116
import com.imashnake.animite.core.Constants
117117
import com.imashnake.animite.core.extensions.bannerParallax
118+
import com.imashnake.animite.core.extensions.copy
118119
import com.imashnake.animite.core.extensions.crossfadeModel
119120
import com.imashnake.animite.core.extensions.horizontalOnly
120121
import com.imashnake.animite.core.extensions.plus
@@ -606,9 +607,9 @@ fun MediaPage(
606607
modifier = Modifier
607608
.fillMaxWidth()
608609
.background(MaterialTheme.colorScheme.surfaceContainerHighest)
609-
.padding(insetPaddingValues)
610+
.padding(insetPaddingValues.copy(bottom = 0.dp))
610611
.padding(horizontal = LocalPaddings.current.large)
611-
.padding(top = LocalPaddings.current.large)
612+
.padding(vertical = LocalPaddings.current.medium)
612613
) {
613614
Text(
614615
text = media.genreTitleList?.first.orEmpty(),

0 commit comments

Comments
 (0)