1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-21 23:54:26 +00:00

Fix HomeserverFragment's name

This commit is contained in:
Steffo 2023-11-18 05:20:55 +01:00
parent 368b1e6fbf
commit 9de4425287
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ package eu.steffo.twom
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import eu.steffo.twom.ui.fragment.LoginFragment
import eu.steffo.twom.ui.fragment.HomeserverFragment
class MainActivity : ComponentActivity() {
@ -11,6 +11,6 @@ class MainActivity : ComponentActivity() {
super.onCreate(savedInstanceState)
actionBar?.hide()
setContent { LoginFragment() }
setContent { HomeserverFragment() }
}
}

View file

@ -35,14 +35,14 @@ import org.matrix.android.sdk.api.auth.data.HomeServerConnectionConfig
fun LoginFragment() {
TwoMMatrixProvider {
TwoMTheme {
LoginContents()
HomeserverContents()
}
}
}
@Composable
@Preview
fun LoginContents() {
fun HomeserverContents() {
val scope = rememberCoroutineScope()
val matrix = LocalMatrix.current