From 9eab59dcbeb9ebc9ca92d582a2feb34870869f20 Mon Sep 17 00:00:00 2001 From: Philipp Crocoll Date: Mon, 8 Mar 2021 09:48:56 +0100 Subject: [PATCH] fix broken steam support --- src/keepass2android/Totp/TrayTotpPluginAdapter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/keepass2android/Totp/TrayTotpPluginAdapter.cs b/src/keepass2android/Totp/TrayTotpPluginAdapter.cs index ee18beeb..4db3fd2b 100644 --- a/src/keepass2android/Totp/TrayTotpPluginAdapter.cs +++ b/src/keepass2android/Totp/TrayTotpPluginAdapter.cs @@ -117,6 +117,8 @@ namespace PluginTOTP string[] Settings = SettingsGet(entryFields); res.Duration = Settings[0]; res.Length = Settings[1]; + if (res.Length == "S") + res.Encoder = TotpData.EncoderSteam; if (ValidUrl) { NoTimeCorrection = true;