[Architecture] fix compile and rename LoginRootScreen -> LoginRootView
This commit is contained in:
parent
ec1c84e058
commit
ab5cdee031
3 changed files with 6 additions and 8 deletions
|
|
@ -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 = {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue