Enable split pane UI for create group screen.

This commit is contained in:
jeffrey-signal
2025-10-23 11:01:55 -04:00
parent 19558c5325
commit d903bcf2b1
8 changed files with 8 additions and 321 deletions

View File

@@ -128,7 +128,7 @@ private fun NewConversationScreen(
val callbacks = remember {
object : UiCallbacks {
override fun onSearchQueryChanged(query: String) = viewModel.onSearchQueryChanged(query)
override fun onCreateNewGroup() = createGroupLauncher.launch(CreateGroupActivity.newIntent(context))
override fun onCreateNewGroup() = createGroupLauncher.launch(CreateGroupActivity.createIntent(context))
override fun onFindByUsername() = findByLauncher.launch(FindByMode.USERNAME)
override fun onFindByPhoneNumber() = findByLauncher.launch(FindByMode.PHONE_NUMBER)
override suspend fun shouldAllowSelection(id: RecipientId?, phone: PhoneNumber?): Boolean = true