Hide "They don't match" button when verifying.
This commit is contained in:
parent
4d0b2dd53b
commit
df3bd31118
1 changed files with 10 additions and 5 deletions
|
|
@ -342,6 +342,10 @@ private fun VerifySelfSessionBottomMenu(
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
if (isVerifying) {
|
||||||
|
// Placeholder so the 1st button keeps its vertical position
|
||||||
|
Spacer(modifier = Modifier.height(40.dp))
|
||||||
|
} else {
|
||||||
TextButton(
|
TextButton(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
text = stringResource(R.string.screen_session_verification_they_dont_match),
|
text = stringResource(R.string.screen_session_verification_they_dont_match),
|
||||||
|
|
@ -349,6 +353,7 @@ private fun VerifySelfSessionBottomMenu(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
is Step.Completed -> {
|
is Step.Completed -> {
|
||||||
VerificationBottomMenu {
|
VerificationBottomMenu {
|
||||||
Button(
|
Button(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue