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