[MatrixSDK] finish mapping timeline and makes it compile
This commit is contained in:
parent
fb85f35525
commit
801eecfe8d
44 changed files with 370 additions and 242 deletions
|
|
@ -57,5 +57,6 @@ dependencies {
|
|||
implementation(projects.features.roomlist.impl)
|
||||
implementation(projects.features.login.impl)
|
||||
implementation(libs.coroutines.core)
|
||||
implementation(libs.matrix.sdk)
|
||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.2")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ class MainActivity : ComponentActivity() {
|
|||
} else {
|
||||
val matrixClient = runBlocking {
|
||||
val sessionId = matrixAuthenticationService.getLatestSessionId()!!
|
||||
matrixAuthenticationService.restoreSession(sessionId)
|
||||
matrixAuthenticationService.restoreSession(sessionId).getOrNull()
|
||||
}
|
||||
RoomListScreen(matrixClient = matrixClient!!).Content(modifier)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue