Update call link info sheet to match new designs.
This commit is contained in:
parent
c53abe0941
commit
6d54ae5f3d
1 changed files with 2 additions and 5 deletions
|
@ -229,8 +229,7 @@ private fun CallInfo(
|
|||
}
|
||||
}
|
||||
|
||||
var includeAdminControlsDivider = true
|
||||
if (controlAndInfoState.callLink == null || participantsState.isOngoing()) {
|
||||
if (!participantsState.inCallLobby || participantsState.isOngoing()) {
|
||||
item {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
|
@ -245,8 +244,6 @@ private fun CallInfo(
|
|||
)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
includeAdminControlsDivider = false
|
||||
}
|
||||
|
||||
if (!participantsState.inCallLobby || participantsState.isOngoing()) {
|
||||
|
@ -290,7 +287,7 @@ private fun CallInfo(
|
|||
|
||||
if (controlAndInfoState.callLink?.credentials?.adminPassBytes != null) {
|
||||
item {
|
||||
if (includeAdminControlsDivider) {
|
||||
if (!participantsState.inCallLobby) {
|
||||
Dividers.Default()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue