Skip to content

Commit

Permalink
fix: AndroidCodeAuthFlowFactory deprecated constructor missing defaul…
Browse files Browse the repository at this point in the history
…t arg
  • Loading branch information
kalinjul committed Mar 5, 2024
1 parent 0bc3ac9 commit 5d06b5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 5d06b5d

Please sign in to comment.