From 9c6cc3e3079211b98dda73c352234b4d51ed5f1a Mon Sep 17 00:00:00 2001 From: Juan Carlos Garrote Date: Wed, 20 Nov 2024 16:26:17 +0100 Subject: [PATCH] refactor: removed unnecessary apply block --- .../presentation/authentication/oauth/OAuthUtils.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/owncloudApp/src/main/java/com/owncloud/android/presentation/authentication/oauth/OAuthUtils.kt b/owncloudApp/src/main/java/com/owncloud/android/presentation/authentication/oauth/OAuthUtils.kt index 5440e9be145..782d0da027c 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/presentation/authentication/oauth/OAuthUtils.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/presentation/authentication/oauth/OAuthUtils.kt @@ -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() } }