Skip to content

Commit

Permalink
Merge pull request #680 from NID-kt/scroll-not
Browse files Browse the repository at this point in the history
ColummをLazyColumnに変更しました。
  • Loading branch information
takahirom authored Aug 26, 2024
2 parents 9e1ac60 + 104d426 commit 649eadf
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
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.material.icons.Icons
import androidx.compose.material.icons.filled.Favorite
import androidx.compose.material3.ExperimentalMaterial3Api
Expand Down Expand Up @@ -132,7 +134,10 @@ fun FavoriteSheet(
@Composable
private fun EmptyView(modifier: Modifier = Modifier) {
Column(
modifier = modifier.testTag(FavoritesScreenEmptyViewTestTag).fillMaxSize(),
modifier = modifier
.testTag(FavoritesScreenEmptyViewTestTag)
.fillMaxSize()
.verticalScroll(rememberScrollState()),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.Center,
) {
Expand Down

0 comments on commit 649eadf

Please sign in to comment.