1
0
Fork 0
mirror of https://github.com/bitwarden/android.git synced 2024-12-30 12:58:29 +03:00

no inline out

This commit is contained in:
Kyle Spearrin 2017-04-20 15:49:25 -04:00
parent 48d0d068d1
commit 3ad4e28a2c

View file

@ -19,7 +19,8 @@ namespace Bit.App.Models
var headerPieces = encryptedString.Split('.'); var headerPieces = encryptedString.Split('.');
string[] encPieces; 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; EncryptionType = encType;
encPieces = headerPieces[1].Split('|'); encPieces = headerPieces[1].Split('|');