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,11 +342,16 @@ private fun VerifySelfSessionBottomMenu(
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
TextButton(
|
if (isVerifying) {
|
||||||
modifier = Modifier.fillMaxWidth(),
|
// Placeholder so the 1st button keeps its vertical position
|
||||||
text = stringResource(R.string.screen_session_verification_they_dont_match),
|
Spacer(modifier = Modifier.height(40.dp))
|
||||||
onClick = { eventSink(VerifySelfSessionViewEvents.DeclineVerification) },
|
} else {
|
||||||
)
|
TextButton(
|
||||||
|
modifier = Modifier.fillMaxWidth(),
|
||||||
|
text = stringResource(R.string.screen_session_verification_they_dont_match),
|
||||||
|
onClick = { eventSink(VerifySelfSessionViewEvents.DeclineVerification) },
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
is Step.Completed -> {
|
is Step.Completed -> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue