1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-25 09:34:25 +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 android.os.Bundle
import androidx.activity.ComponentActivity import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent import androidx.activity.compose.setContent
import eu.steffo.twom.ui.fragment.LoginFragment import eu.steffo.twom.ui.fragment.HomeserverFragment
class MainActivity : ComponentActivity() { class MainActivity : ComponentActivity() {
@ -11,6 +11,6 @@ class MainActivity : ComponentActivity() {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
actionBar?.hide() actionBar?.hide()
setContent { LoginFragment() } setContent { HomeserverFragment() }
} }
} }

View file

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