Skip to content

Commit

Permalink
finish character sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Apr 24, 2024
1 parent c08cab2 commit 37ffbba
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import dev.icerock.moko.resources.compose.stringResource
fun CharacterDialog(component: CharacterComponent) {
val sheetState = rememberModalBottomSheetState()
val insets = if (LocalEdgeToEdge.current) {
BottomSheetDefaults.windowInsets.only(WindowInsetsSides.Bottom)
WindowInsets(0, 0, 0, 0)
} else {
BottomSheetDefaults.windowInsets
}
Expand All @@ -56,7 +56,7 @@ fun CharacterDialog(component: CharacterComponent) {

AsyncImage(
modifier = Modifier
.size(80.dp)
.size(96.dp)
.clip(CircleShape),
model = image.large,
error = rememberAsyncImagePainter(
Expand Down Expand Up @@ -106,7 +106,7 @@ fun CharacterDialog(component: CharacterComponent) {
val translatedDescription by component.translatedDescription.collectAsStateWithLifecycle()

FlowRow(
modifier = Modifier.fillMaxWidth(),
modifier = Modifier.fillMaxWidth().padding(vertical = 16.dp),
verticalArrangement = Arrangement.spacedBy(8.dp, Alignment.CenterVertically),
horizontalArrangement = Arrangement.SpaceAround
) {
Expand Down

0 comments on commit 37ffbba

Please sign in to comment.