diff --git a/src/App/Models/CipherString.cs b/src/App/Models/CipherString.cs index 344f1b1ac..37030b54b 100644 --- a/src/App/Models/CipherString.cs +++ b/src/App/Models/CipherString.cs @@ -19,7 +19,8 @@ namespace Bit.App.Models var headerPieces = encryptedString.Split('.'); string[] encPieces; - if(headerPieces.Length == 2 && Enum.TryParse(headerPieces[0], out EncryptionType encType)) + EncryptionType encType; + if(headerPieces.Length == 2 && Enum.TryParse(headerPieces[0], out encType)) { EncryptionType = encType; encPieces = headerPieces[1].Split('|');