Skip to content

Commit

Permalink
[FEATURE]#74 : 프로그래스바 회전 시, 클릭 방지
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Aug 6, 2024
1 parent b30a377 commit f55a9e4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bff.wespot.entire.screen.screen

import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
Expand Down Expand Up @@ -104,7 +105,12 @@ fun BlockListScreen(
}

if (state.isLoading) {
Box(modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.Center) {
Box(
modifier = Modifier
.fillMaxSize()
.clickable(enabled = false) { },
contentAlignment = Alignment.Center,
) {
CircularProgressIndicator()
}
}
Expand Down

0 comments on commit f55a9e4

Please sign in to comment.