Browse Source

Minor fix

Neeraj Gupta 1 year ago
parent
commit
8831560151
1 changed files with 1 additions and 1 deletions
  1. 1 1
      auth/lib/models/code.dart

+ 1 - 1
auth/lib/models/code.dart

@@ -59,7 +59,7 @@ class Code {
       updatedType,
       updatedType,
       updatedCounter,
       updatedCounter,
       "otpauth://${updatedType.name}/$updateIssuer:$updateAccount?algorithm=${updatedAlgo.name}"
       "otpauth://${updatedType.name}/$updateIssuer:$updateAccount?algorithm=${updatedAlgo.name}"
-      "${updatedType == Type.steam ? "" : "&digits=$updatedDigits"}&issuer=$updateIssuer"
+      "&digits=$updatedDigits&issuer=$updateIssuer"
       "&period=$updatePeriod&secret=$updatedSecret${updatedType == Type.hotp ? "&counter=$updatedCounter" : ""}",
       "&period=$updatePeriod&secret=$updatedSecret${updatedType == Type.hotp ? "&counter=$updatedCounter" : ""}",
       generatedID: generatedID,
       generatedID: generatedID,
     );
     );