Skip to content

Commit

Permalink
select imageUri
Browse files Browse the repository at this point in the history
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
sowjanyakch committed Sep 23, 2024
1 parent 2ddd152 commit a3099d8
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -61,7 +61,6 @@ import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
Original file line number Diff line number Diff line change
@@ -47,6 +47,8 @@ class ConversationCreationViewModel @Inject constructor(

fun isPasswordEnabled(value: Boolean) {
_isPasswordEnabled.value = value
}

fun updateSelectedImageUri(uri: Uri?) {
_selectedImageUri.value = uri
}
@@ -77,7 +79,6 @@ class ConversationCreationViewModel @Inject constructor(
roomType: String,
conversationName: String,
participants: Set<AutocompleteUser>,
selectedImageUri: Uri?,
onRoomCreated: (String) -> Unit
) {
val scope = when {

0 comments on commit a3099d8

Please sign in to comment.