mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Hide "They don't match" button when verifying.
This commit is contained in:
+10
-5
@@ -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 -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user