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:
parent
368b1e6fbf
commit
9de4425287
2 changed files with 4 additions and 4 deletions
|
@ -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() }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue