Skip to content

Commit

Permalink
remove onImageClick
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed Dec 22, 2023
1 parent 0e3058f commit 96eff50
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ fun InputImageScreen() {
uploadState = UploadState.LOADED
}
},
onImageClick = {},
)
Spacer(Modifier.size(Spacing.Spacing18))

Expand All @@ -63,7 +62,6 @@ fun InputImageScreen() {
onShareButtonClick = {},
onResetButtonClicked = {},
onAddButtonClicked = {},
onImageClick = {},
)
Spacer(Modifier.size(Spacing.Spacing18))

Expand All @@ -80,7 +78,6 @@ fun InputImageScreen() {
onShareButtonClick = {},
onResetButtonClicked = { },
onAddButtonClicked = {},
onImageClick = {},
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ fun InputSignatureScreen() {
uploadState = UploadState.LOADED
}
},
onImageClick = {},
)
Spacer(Modifier.size(Spacing.Spacing18))

Expand All @@ -63,7 +62,6 @@ fun InputSignatureScreen() {
onShareButtonClick = {},
onResetButtonClicked = {},
onAddButtonClicked = {},
onImageClick = {},
)
Spacer(Modifier.size(Spacing.Spacing18))

Expand All @@ -80,7 +78,6 @@ fun InputSignatureScreen() {
onShareButtonClick = {},
onResetButtonClicked = { },
onAddButtonClicked = {},
onImageClick = {},
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ internal fun <T> BasicInputImage(
Spacing.Spacing0
},
),
onImageClick = {
onImageClick.invoke()
focusRequester.requestFocus()
},
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ fun <T> InputImage(
onShareButtonClick: () -> Unit,
onResetButtonClicked: () -> Unit,
onAddButtonClicked: () -> Unit,
onImageClick: () -> Unit,
) {
BasicInputImage(
title = title,
Expand All @@ -64,6 +63,5 @@ fun <T> InputImage(
onShareButtonClick = onShareButtonClick,
onResetButtonClicked = onResetButtonClicked,
onAddButtonClicked = onAddButtonClicked,
onImageClick = onImageClick,
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ fun <T> InputSignature(
onShareButtonClick: () -> Unit,
onResetButtonClicked: () -> Unit,
onAddButtonClicked: () -> Unit,
onImageClick: () -> Unit,
) {
BasicInputImage(
title = title,
Expand All @@ -64,6 +63,5 @@ fun <T> InputSignature(
onShareButtonClick = onShareButtonClick,
onResetButtonClicked = onResetButtonClicked,
onAddButtonClicked = onAddButtonClicked,
onImageClick = onImageClick,
)
}

0 comments on commit 96eff50

Please sign in to comment.