[Architecture] fix compile and rename LoginRootScreen -> LoginRootView

This commit is contained in:
ganfra 2023-03-09 10:37:17 +01:00
parent ec1c84e058
commit ab5cdee031
3 changed files with 6 additions and 8 deletions

View file

@ -20,7 +20,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import io.element.android.features.login.impl.root.LoginRootPresenter
import io.element.android.features.login.impl.root.LoginRootScreen
import io.element.android.features.login.impl.root.LoginRootView
import io.element.android.libraries.matrix.api.auth.MatrixAuthenticationService
class LoginScreen(private val authenticationService: MatrixAuthenticationService) {
@ -31,7 +31,7 @@ class LoginScreen(private val authenticationService: MatrixAuthenticationService
LoginRootPresenter(authenticationService = authenticationService)
}
val state = presenter.present()
LoginRootScreen(
LoginRootView(
state = state,
modifier = modifier,
onBackPressed = {},