From fe5b61bf2595835340be4a277ac7c9c0c549428d Mon Sep 17 00:00:00 2001 From: Ruyut Date: Sat, 31 Jan 2026 03:15:03 +0800 Subject: [PATCH] [PM-31445] Fix minor KDoc typos and wording issues. (#6441) --- .../data/auth/manager/model/CreateAuthRequestResult.kt | 4 ++-- .../bitwarden/data/autofill/util/CipherViewExtensions.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/manager/model/CreateAuthRequestResult.kt b/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/manager/model/CreateAuthRequestResult.kt index 12e58c610c..8d8703bfbf 100644 --- a/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/manager/model/CreateAuthRequestResult.kt +++ b/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/manager/model/CreateAuthRequestResult.kt @@ -12,7 +12,7 @@ sealed class CreateAuthRequestResult { ) : CreateAuthRequestResult() /** - * Models the data returned when a auth request has been approved. + * Models the data returned when an auth request has been approved. */ data class Success( val authRequest: AuthRequest, @@ -21,7 +21,7 @@ sealed class CreateAuthRequestResult { ) : CreateAuthRequestResult() /** - * There was a generic error getting the user's auth requests. + * There was a generic error creating the auth request. */ data class Error( val error: Throwable, diff --git a/app/src/main/kotlin/com/x8bit/bitwarden/data/autofill/util/CipherViewExtensions.kt b/app/src/main/kotlin/com/x8bit/bitwarden/data/autofill/util/CipherViewExtensions.kt index d0d7b3d9a9..159198b7c4 100644 --- a/app/src/main/kotlin/com/x8bit/bitwarden/data/autofill/util/CipherViewExtensions.kt +++ b/app/src/main/kotlin/com/x8bit/bitwarden/data/autofill/util/CipherViewExtensions.kt @@ -54,7 +54,7 @@ val CipherView.isActiveWithFido2Credentials: Boolean get() = deletedDate == null && !(login?.fido2Credentials.isNullOrEmpty()) /** - * Returns true when the cipher is not deleted and contains at least one Pasword credential. + * Returns true when the cipher is not deleted and contains at least one Password credential. */ val CipherView.isActiveWithPasswordCredentials: Boolean get() = deletedDate == null && !(login?.password.isNullOrEmpty())