change(invites) : clean code

This commit is contained in:
ganfra
2025-03-04 10:51:22 +01:00
parent 28ec54a122
commit 8b933cf10d
3 changed files with 5 additions and 8 deletions

View File

@@ -194,8 +194,8 @@ private fun JoinRoomFooter(
) {
Box(
modifier = modifier
.fillMaxWidth()
.padding(top = 8.dp)
.fillMaxWidth()
.padding(top = 8.dp)
) {
when (joinAuthorisationStatus) {
is JoinAuthorisationStatus.IsInvited -> {
@@ -221,7 +221,6 @@ private fun JoinRoomFooter(
modifier = Modifier.fillMaxWidth(),
destructive = true
)
}
}
JoinAuthorisationStatus.CanJoin -> {
@@ -458,8 +457,8 @@ private fun IncompleteContent(
private fun IsKnockedLoadedContent(modifier: Modifier = Modifier) {
BoxWithConstraints(
modifier = modifier
.fillMaxHeight()
.padding(horizontal = 16.dp),
.fillMaxHeight()
.padding(horizontal = 16.dp),
contentAlignment = Alignment.Center,
) {
IconTitleSubtitleMolecule(