Rename View to follow naming convention and file name

This commit is contained in:
Benoit Marty 2025-08-13 11:21:31 +02:00
parent 519d24d3f0
commit 9411b309d2
3 changed files with 13 additions and 13 deletions

View file

@ -46,7 +46,7 @@ class StartChatNode @AssistedInject constructor(
override fun View(modifier: Modifier) {
val state = presenter.present()
val activity = requireNotNull(LocalActivity.current)
CreateRoomRootView(
StartChatView(
state = state,
modifier = modifier,
onCloseClick = this::navigateUp,

View file

@ -48,7 +48,7 @@ import io.element.android.libraries.ui.strings.CommonStrings
import kotlinx.collections.immutable.persistentListOf
@Composable
fun CreateRoomRootView(
fun StartChatView(
state: StartChatState,
onCloseClick: () -> Unit,
onNewRoomClick: () -> Unit,
@ -239,9 +239,9 @@ private fun CreateRoomActionButton(
@PreviewsDayNight
@Composable
internal fun CreateRoomRootViewPreview(@PreviewParameter(StartChatStateProvider::class) state: StartChatState) =
internal fun StartChatViewPreview(@PreviewParameter(StartChatStateProvider::class) state: StartChatState) =
ElementPreview {
CreateRoomRootView(
StartChatView(
state = state,
onCloseClick = {},
onNewRoomClick = {},