mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 20:19:42 +01:00
ktlint format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
4dd22d6223
commit
384ba6945f
@ -1633,7 +1633,9 @@ class CallActivity : CallBaseActivity() {
|
||||
private fun callOrJoinRoomViaWebSocket() {
|
||||
if (hasExternalSignalingServer) {
|
||||
webSocketClient!!.joinRoomWithRoomTokenAndSession(
|
||||
roomToken!!, callSession, externalSignalingServer!!.federation
|
||||
roomToken!!,
|
||||
callSession,
|
||||
externalSignalingServer!!.federation
|
||||
)
|
||||
} else {
|
||||
performCall()
|
||||
|
@ -550,7 +550,6 @@ fun ConversationOptions(
|
||||
|
||||
@Composable
|
||||
fun ShowPasswordDialog(onDismiss: () -> Unit, conversationCreationViewModel: ConversationCreationViewModel) {
|
||||
|
||||
var password by remember { mutableStateOf("") }
|
||||
|
||||
AlertDialog(
|
||||
@ -583,10 +582,7 @@ fun ShowPasswordDialog(onDismiss: () -> Unit, conversationCreationViewModel: Con
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun CreateConversation(
|
||||
conversationCreationViewModel: ConversationCreationViewModel,
|
||||
context: Context
|
||||
) {
|
||||
fun CreateConversation(conversationCreationViewModel: ConversationCreationViewModel, context: Context) {
|
||||
val selectedParticipants by conversationCreationViewModel.selectedParticipants.collectAsState()
|
||||
Box(
|
||||
modifier = Modifier
|
||||
|
@ -35,7 +35,6 @@ class ConversationCreationViewModel @Inject constructor(
|
||||
private val selectedImageUri = MutableStateFlow<Uri?>(null)
|
||||
val selectedImageUriState: StateFlow<Uri?> = selectedImageUri
|
||||
|
||||
|
||||
private val _currentUser = userManager.currentUser.blockingGet()
|
||||
val currentUser: User = _currentUser
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user