Fixed Clone dialog directory search button sizes

This commit is contained in:
Abdelilah El Aissaoui 2023-03-24 21:25:24 +01:00
parent b9707de7ac
commit 31491cef9c
No known key found for this signature in database
GPG Key ID: 7587FC860F594869

View File

@ -147,7 +147,7 @@ private fun CloneInput(
textFieldShape = RoundedCornerShape(topStart = 4.dp, bottomStart = 4.dp)
)
Button(
IconButton(
onClick = {
cloneViewModel.resetStateIfError()
val newDirectory = openDirectoryDialog()
@ -162,8 +162,10 @@ private fun CloneInput(
previous = directoryFocusRequester
next = cloneButtonFocusRequester
}
.padding(start = 8.dp)
.clip(RoundedCornerShape(4.dp))
.background(MaterialTheme.colors.primary)
.height(40.dp),
shape = RoundedCornerShape(topEnd = 4.dp, bottomEnd = 4.dp)
) {
Icon(
Icons.Default.Search,