Skip to content

Commit

Permalink
[feature/review_star_view]: add Scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
kez-lab committed Oct 11, 2023
1 parent 311ed5e commit 5b4f57c
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package com.everymeal.presentation.ui.review.detail

import androidx.compose.foundation.Image
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.gestures.rememberScrollableState
import androidx.compose.foundation.gestures.scrollable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
Expand All @@ -10,7 +13,9 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.Scaffold
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
Expand Down Expand Up @@ -53,8 +58,11 @@ fun ReviewDetailScreen() {
)
}
) { innerPadding ->
val scrollState = rememberScrollState()
Column(
modifier = Modifier.padding(innerPadding)
modifier = Modifier
.padding(innerPadding)
.verticalScroll(scrollState)
) {
UserProfileAppbar(
userName = "햄식이",
Expand Down

0 comments on commit 5b4f57c

Please sign in to comment.