mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Cleanup after rebase.
This commit is contained in:
+15
-17
@@ -228,25 +228,23 @@ private fun RoomListContent(
|
|||||||
// FAB height is 56dp, bottom padding is 16dp, we add 8dp as extra margin -> 56+16+8 = 80
|
// FAB height is 56dp, bottom padding is 16dp, we add 8dp as extra margin -> 56+16+8 = 80
|
||||||
contentPadding = PaddingValues(bottom = 80.dp)
|
contentPadding = PaddingValues(bottom = 80.dp)
|
||||||
) {
|
) {
|
||||||
if (state.displayEmptyState.not()) {
|
when {
|
||||||
when (state.securityBannerState) {
|
state.displayEmptyState -> Unit
|
||||||
SecurityBannerState.SessionVerification -> {
|
state.securityBannerState == SecurityBannerState.SessionVerification -> {
|
||||||
item {
|
item {
|
||||||
RequestVerificationHeader(
|
RequestVerificationHeader(
|
||||||
onVerifyClicked = onVerifyClicked,
|
onVerifyClicked = onVerifyClicked,
|
||||||
onDismissClicked = { state.eventSink(RoomListEvents.DismissRequestVerificationPrompt) }
|
onDismissClicked = { state.eventSink(RoomListEvents.DismissRequestVerificationPrompt) }
|
||||||
)
|
)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
SecurityBannerState.RecoveryKeyConfirmation -> {
|
}
|
||||||
item {
|
state.securityBannerState == SecurityBannerState.RecoveryKeyConfirmation -> {
|
||||||
ConfirmRecoveryKeyBanner(
|
item {
|
||||||
onContinueClicked = onConfirmRecoveryKeyClicked,
|
ConfirmRecoveryKeyBanner(
|
||||||
onDismissClicked = { state.eventSink(RoomListEvents.DismissRecoveryKeyPrompt) }
|
onContinueClicked = onConfirmRecoveryKeyClicked,
|
||||||
)
|
onDismissClicked = { state.eventSink(RoomListEvents.DismissRecoveryKeyPrompt) }
|
||||||
}
|
)
|
||||||
}
|
}
|
||||||
SecurityBannerState.None -> Unit
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user