Skip to content

Commit

Permalink
refactor: removed unnecessary apply block
Browse files Browse the repository at this point in the history
  • Loading branch information
JuancaG05 committed Nov 20, 2024
1 parent 51c54e6 commit 9c6cc3e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ class OAuthUtils {
}.build()

fun buildRedirectUri(context: Context): Uri =
Uri.Builder().apply {
scheme(context.getString(R.string.oauth2_redirect_uri_scheme))
authority(context.getString(R.string.oauth2_redirect_uri_host))
path(context.getString(R.string.oauth2_redirect_uri_path))
}.build()
Uri.Builder()
.scheme(context.getString(R.string.oauth2_redirect_uri_scheme))
.authority(context.getString(R.string.oauth2_redirect_uri_host))
.path(context.getString(R.string.oauth2_redirect_uri_path))
.build()
}
}

0 comments on commit 9c6cc3e

Please sign in to comment.