Quality checks

This commit is contained in:
Benoit Marty
2023-04-21 09:49:11 +02:00
committed by Benoit Marty
parent a4e2a688c3
commit cef1691e53
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class OidcUrlParser {
// On success, we get:
// `io.element:/callback?state=IFF1UETGye2ZA8pO&code=y6X1GZeqA3xxOWcTeShgv8nkgFJXyzWB`
/**
* Return a OidcAction, or null if the url is not a OidcUrl
* Return a OidcAction, or null if the url is not a OidcUrl.
*/
fun parse(url: String): OidcAction? {
if (url.startsWith(OidcConfig.redirectUri).not()) return null

View File

@@ -71,7 +71,7 @@ fun OidcView(
Box(modifier = modifier.statusBarsPadding()) {
AndroidView(
modifier = modifier
modifier = Modifier
.statusBarsPadding(),
factory = { context ->
WebView(context).apply {