From 5d06b5d341f0ddef37b6d236d3f6829ecf63e867 Mon Sep 17 00:00:00 2001 From: Julian Kalinowski Date: Tue, 5 Mar 2024 07:34:40 +0100 Subject: [PATCH] fix: AndroidCodeAuthFlowFactory deprecated constructor missing default arg --- .../multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oidc-appsupport/src/androidMain/kotlin/org/publicvalue/multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt b/oidc-appsupport/src/androidMain/kotlin/org/publicvalue/multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt index 37f2888..7706286 100644 --- a/oidc-appsupport/src/androidMain/kotlin/org/publicvalue/multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt +++ b/oidc-appsupport/src/androidMain/kotlin/org/publicvalue/multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt @@ -34,7 +34,7 @@ class AndroidCodeAuthFlowFactory( @Deprecated( message = "Use AndroidCodeAuthFlowFactory(useWebView: Boolean) instead and call registerActivity().", replaceWith = ReplaceWith("AndroidCodeAuthFlowFactory(useWebView).also { it.registerActivity(activity) }")) - constructor(activity: ComponentActivity, useWebView: Boolean) : this(useWebView = useWebView) { + constructor(activity: ComponentActivity, useWebView: Boolean = false) : this(useWebView = useWebView) { registerActivity(activity) }