mirror of
https://github.com/bitwarden/mobile.git
synced 2025-02-01 22:51:39 +01:00
try inline out again
This commit is contained in:
parent
56e166d61a
commit
48d0d068d1
@ -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('|');
|
||||
|
Loading…
Reference in New Issue
Block a user