mirror of
https://github.com/ente-io/ente.git
synced 2025-08-13 09:47:17 +00:00
fix: typo and lint
This commit is contained in:
@@ -30,7 +30,7 @@ String getNextTotp(Code code) {
|
||||
return otp.OTP.generateTOTPCodeString(
|
||||
getSanitizedSecret(code.secret),
|
||||
DateTime.now().millisecondsSinceEpoch + code.period * 1000,
|
||||
length: code.issuer.toLowerCase() == "stream" ? 5 : code.digits,
|
||||
length: code.issuer.toLowerCase() == "steam" ? 5 : code.digits,
|
||||
interval: code.period,
|
||||
algorithm: _getAlgorithm(code),
|
||||
isGoogle: true,
|
||||
|
Reference in New Issue
Block a user