Fix detekted issues.

This commit is contained in:
Benoit Marty
2022-12-12 17:18:23 +01:00
parent e9158d0f59
commit 45ee50d9b8
2 changed files with 7 additions and 9 deletions
@@ -198,10 +198,13 @@ private fun DefaultRoomListTopBar(
)
// Log out confirmation dialog
ConfirmationDialog(
openDialog,
isDisplayed = openDialog.value,
title = "Log out",
content = "Do you confirm you want to log out?",
submitText = "Log out",
onSubmitClicked = onLogoutClicked,
onDismiss = {
openDialog.value = false
}
)
}