From 365067e5be95636f8425beb7ca58f9aca473a39a Mon Sep 17 00:00:00 2001 From: Ruyut Date: Mon, 2 Feb 2026 23:29:31 +0800 Subject: [PATCH] [PM-31583] Fix typos in authentication-related KDoc comments (#6461) --- .../x8bit/bitwarden/data/auth/repository/AuthRepository.kt | 6 +++--- .../data/auth/repository/model/UserAccountTokens.kt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/repository/AuthRepository.kt b/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/repository/AuthRepository.kt index c3dc076404..bcb8e9e25a 100644 --- a/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/repository/AuthRepository.kt +++ b/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/repository/AuthRepository.kt @@ -44,7 +44,7 @@ import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.StateFlow /** - * Provides an API for observing an modifying authentication state. + * Provides an API for observing and modifying authentication state. */ @Suppress("TooManyFunctions") interface AuthRepository : @@ -283,7 +283,7 @@ interface AuthRepository : ): PasswordHintResult /** - * Removes the users password from the account. This used used when migrating from master + * Removes the users password from the account. This is used when migrating from master * password login to key connector login. */ suspend fun removePassword(masterPassword: String): RemovePasswordResult @@ -385,7 +385,7 @@ interface AuthRepository : ): SendVerificationEmailResult /** - * Validates the given [token] for the given [email]. Part of th new account registration flow. + * Validates the given [token] for the given [email]. Part of the new account registration flow. */ suspend fun validateEmailToken( email: String, diff --git a/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/repository/model/UserAccountTokens.kt b/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/repository/model/UserAccountTokens.kt index e417e6e898..2fca48c88d 100644 --- a/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/repository/model/UserAccountTokens.kt +++ b/app/src/main/kotlin/com/x8bit/bitwarden/data/auth/repository/model/UserAccountTokens.kt @@ -9,7 +9,7 @@ data class UserAccountTokens( val refreshToken: String?, ) { /** - * Returns `true` if the user is logged in, `false otherwise. + * Returns `true` if the user is logged in, `false` otherwise. */ val isLoggedIn: Boolean get() = accessToken != null }