cleanup
This commit is contained in:
parent
efc1f38f8c
commit
d69881f321
@ -95,7 +95,6 @@ internal class RealmSessionParamsStore @Inject constructor(private val mapper: S
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
override suspend fun updateCredentials(newCredentials: Credentials) {
|
override suspend fun updateCredentials(newCredentials: Credentials) {
|
||||||
awaitTransaction(realmConfiguration) { realm ->
|
awaitTransaction(realmConfiguration) { realm ->
|
||||||
val currentSessionParams = realm
|
val currentSessionParams = realm
|
||||||
|
@ -36,7 +36,6 @@ fun StringBuilder.appendParamToUrl(param: String, value: String): StringBuilder
|
|||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ex: "https://matrix.org/" -> "matrix.org"
|
* Ex: "https://matrix.org/" -> "matrix.org"
|
||||||
*/
|
*/
|
||||||
|
@ -197,7 +197,7 @@ abstract class VectorBaseActivity : AppCompatActivity(), HasScreenInjector {
|
|||||||
|
|
||||||
protected open fun handleInvalidToken(globalError: GlobalError.InvalidToken) {
|
protected open fun handleInvalidToken(globalError: GlobalError.InvalidToken) {
|
||||||
Timber.w("Invalid token event received")
|
Timber.w("Invalid token event received")
|
||||||
if(mainActivityStarted) {
|
if (mainActivityStarted) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -83,4 +83,3 @@ class SoftLogoutActivity : VectorBaseActivity() {
|
|||||||
Timber.w("Ignoring invalid token global error")
|
Timber.w("Ignoring invalid token global error")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,5 +32,4 @@ data class SoftLogoutViewState(
|
|||||||
fun isLoading(): Boolean {
|
fun isLoading(): Boolean {
|
||||||
return asyncLoginAction is Loading
|
return asyncLoginAction is Loading
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user