diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/Buttons.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/Buttons.kt index f835a4ea1..9c6148e31 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/Buttons.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/Buttons.kt @@ -110,7 +110,7 @@ private fun CoreButton( onClick: () -> Unit, imageVector: ImageVector?, ) { - val isEnabled by remember { derivedStateOf { enabled() || showIndeterminateProgress() } } + val isEnabled by remember { derivedStateOf { enabled() && !showIndeterminateProgress() && progress == null } } val buttonColors = style.buttonColors() Button(