diff --git a/feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/screen/VerificationPreviewScreen.kt b/feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/screen/VerificationPreviewScreen.kt index f87aea4..83acdf4 100644 --- a/feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/screen/VerificationPreviewScreen.kt +++ b/feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/screen/VerificationPreviewScreen.kt @@ -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 @@ -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) @@ -253,3 +258,13 @@ fun VerificationPreviewScreenPreview() { onClickUpload = {} ) } + +@Preview +@Composable +fun VerificationPreviewScreenLoadingPreview() { + VerificationPreviewScreen( + onClickClose = {}, + uiState = VerificationPreviewUiState.Loading, + onClickUpload = {} + ) +}