Skip to content

Commit

Permalink
Better name boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Aug 19, 2024
1 parent 71fb235 commit 80d738b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fun ImportFilesScreen() {
) {
Column {
UploadSourceChoiceBottomSheet(
showUploadSourceChoiceBottomSheet = { showUploadSourceChoiceBottomSheet },
isBottomSheetVisible = { showUploadSourceChoiceBottomSheet },
onDismissRequest = { showUploadSourceChoiceBottomSheet = false },
)
}
Expand All @@ -70,10 +70,10 @@ fun ImportFilesScreen() {

@Composable
private fun UploadSourceChoiceBottomSheet(
showUploadSourceChoiceBottomSheet: () -> Boolean,
isBottomSheetVisible: () -> Boolean,
onDismissRequest: () -> Unit,
) {
if (showUploadSourceChoiceBottomSheet()) {
if (isBottomSheetVisible()) {
SwissTransferBottomSheet(
onDismissRequest = onDismissRequest,
titleRes = R.string.transferUploadSourceChoiceTitle,
Expand Down

0 comments on commit 80d738b

Please sign in to comment.