1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-10-06 05:17:59 +02:00

build engine doesnt like inline out params

This commit is contained in:
Kyle Spearrin 2017-04-20 15:38:31 -04:00
parent 672d753adf
commit 56e166d61a

View File

@ -18,7 +18,9 @@ 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('|');