Skip to content

Commit

Permalink
Make the bottom sheet's content scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Aug 19, 2024
1 parent 458ada8 commit c1a6c7a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ package com.infomaniak.swisstransfer.ui.components
import android.content.res.Configuration
import androidx.annotation.StringRes
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
Expand Down Expand Up @@ -73,7 +75,8 @@ private fun BottomSheetContent(
) {
Column(
modifier = Modifier
.fillMaxWidth(),
.fillMaxWidth()
.verticalScroll(rememberScrollState()),
horizontalAlignment = Alignment.CenterHorizontally
) {
imageVector?.let {
Expand Down

0 comments on commit c1a6c7a

Please sign in to comment.