You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/verifysession/impl/src/main/kotlin/io/element/android/features/verifysession/impl/outgoing/VerifySelfSessionView.kt
+6-13Lines changed: 6 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -248,25 +248,18 @@ private fun VerifySelfSessionBottomMenu(
248
248
Step.Loading-> error("Should not happen")
249
249
isStep.Initial-> {
250
250
VerificationBottomMenu {
251
-
if (verificationViewState.isLastDevice) {
252
-
Button(
253
-
modifier =Modifier.fillMaxWidth(),
254
-
text = stringResource(R.string.screen_session_verification_enter_recovery_key),
255
-
onClick = onEnterRecoveryKey,
256
-
)
257
-
} else {
251
+
if (verificationViewState.isLastDevice.not()) {
258
252
Button(
259
253
modifier =Modifier.fillMaxWidth(),
260
254
text = stringResource(R.string.screen_identity_use_another_device),
0 commit comments