ktlint format

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2024-09-19 14:57:12 +02:00 committed by Marcel Hibbe
parent 4dd22d6223
commit 384ba6945f
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B
4 changed files with 8 additions and 11 deletions

View File

@ -1633,7 +1633,9 @@ class CallActivity : CallBaseActivity() {
private fun callOrJoinRoomViaWebSocket() { private fun callOrJoinRoomViaWebSocket() {
if (hasExternalSignalingServer) { if (hasExternalSignalingServer) {
webSocketClient!!.joinRoomWithRoomTokenAndSession( webSocketClient!!.joinRoomWithRoomTokenAndSession(
roomToken!!, callSession, externalSignalingServer!!.federation roomToken!!,
callSession,
externalSignalingServer!!.federation
) )
} else { } else {
performCall() performCall()

View File

@ -550,7 +550,6 @@ fun ConversationOptions(
@Composable @Composable
fun ShowPasswordDialog(onDismiss: () -> Unit, conversationCreationViewModel: ConversationCreationViewModel) { fun ShowPasswordDialog(onDismiss: () -> Unit, conversationCreationViewModel: ConversationCreationViewModel) {
var password by remember { mutableStateOf("") } var password by remember { mutableStateOf("") }
AlertDialog( AlertDialog(
@ -583,10 +582,7 @@ fun ShowPasswordDialog(onDismiss: () -> Unit, conversationCreationViewModel: Con
} }
@Composable @Composable
fun CreateConversation( fun CreateConversation(conversationCreationViewModel: ConversationCreationViewModel, context: Context) {
conversationCreationViewModel: ConversationCreationViewModel,
context: Context
) {
val selectedParticipants by conversationCreationViewModel.selectedParticipants.collectAsState() val selectedParticipants by conversationCreationViewModel.selectedParticipants.collectAsState()
Box( Box(
modifier = Modifier modifier = Modifier

View File

@ -35,7 +35,6 @@ class ConversationCreationViewModel @Inject constructor(
private val selectedImageUri = MutableStateFlow<Uri?>(null) private val selectedImageUri = MutableStateFlow<Uri?>(null)
val selectedImageUriState: StateFlow<Uri?> = selectedImageUri val selectedImageUriState: StateFlow<Uri?> = selectedImageUri
private val _currentUser = userManager.currentUser.blockingGet() private val _currentUser = userManager.currentUser.blockingGet()
val currentUser: User = _currentUser val currentUser: User = _currentUser