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:
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 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() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue