Skip to content

Commit

Permalink
Fix verify loading view on VerificationPreviewScreen.
Browse files Browse the repository at this point in the history
  • Loading branch information
bywindow committed Nov 17, 2024
1 parent 1197f37 commit 5ec9b6f
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package com.goalpanzi.mission_mate.feature.board.screen
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.focusable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
Expand Down Expand Up @@ -217,9 +219,12 @@ fun VerificationPreviewScreen(
fun VerificationPreviewLoading() {
Box(
modifier = Modifier
.fillMaxSize()
.background(ColorWhite_FFFFFFFF)
.statusBarsPadding()
.navigationBarsPadding()
.focusable()
.clickable {}
) {
CircularProgressIndicator(
modifier = Modifier.align(Alignment.Center)
Expand Down Expand Up @@ -253,3 +258,13 @@ fun VerificationPreviewScreenPreview() {
onClickUpload = {}
)
}

@Preview
@Composable
fun VerificationPreviewScreenLoadingPreview() {
VerificationPreviewScreen(
onClickClose = {},
uiState = VerificationPreviewUiState.Loading,
onClickUpload = {}
)
}

0 comments on commit 5ec9b6f

Please sign in to comment.