Improve API and fix theme glitch when switching between accounts.
This commit is contained in:
parent
8b88ca20b1
commit
49c23a922e
13 changed files with 120 additions and 61 deletions
|
|
@ -31,3 +31,10 @@ sealed interface CallType : NodeInputs, Parcelable {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun CallType.getSessionId(): SessionId? {
|
||||
return when (this) {
|
||||
is CallType.ExternalUrl -> null
|
||||
is CallType.RoomCall -> sessionId
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue