mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 03:58:48 +00:00
Disable next button in FindByActivity when input is blank.
This commit is contained in:
committed by
Alex Hart
parent
74dc222a54
commit
10364e9342
@@ -420,7 +420,7 @@ private fun Content(
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
) {
|
||||
Buttons.LargeTonal(
|
||||
enabled = !state.isLookupInProgress,
|
||||
enabled = !state.isLookupInProgress && state.userEntry.isNotBlank(),
|
||||
onClick = onNextClick,
|
||||
contentPadding = PaddingValues(0.dp),
|
||||
modifier = Modifier
|
||||
|
||||
Reference in New Issue
Block a user