aboutsummaryrefslogtreecommitdiff
path: root/format-common
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-06-09 13:51:29 +0530
committerGitHub <noreply@github.com>2022-06-09 13:51:29 +0530
commit426fc924fba28ec898681ad7f7010456554f061e (patch)
tree195eac25c605a89f4e239578d685928a64675ee0 /format-common
parentf968b21bf665975e17ad9b03bcff652000e96ec4 (diff)
Upgrade ktfmt (#1942)
* build-logic: upgrade ktfmt * all: reformat
Diffstat (limited to 'format-common')
-rw-r--r--format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt b/format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt
index 0a3921db..1a548d92 100644
--- a/format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt
+++ b/format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt
@@ -41,7 +41,8 @@ internal object Otp {
code[0] = (0x7f and code[0].toInt()).toByte()
val codeInt = ByteBuffer.wrap(code).int
check(codeInt > 0)
- // SteamGuard is a horrible OTP implementation that generates non-standard 5 digit OTPs as well
+ // SteamGuard is a horrible OTP implementation that generates non-standard 5 digit OTPs as
+ // well
// as uses a custom character set.
if (digits == "s" || issuer == "Steam") {
var remainingCodeInt = codeInt