mirror of
https://github.com/bitwarden/mobile
synced 2025-12-11 05:43:30 +00:00
Changed all C# control flow block statements to include space between keyword and open paren (#800)
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Bit.Core.Models.Request
|
||||
Notes = cipher.Notes?.EncryptedString;
|
||||
Favorite = cipher.Favorite;
|
||||
|
||||
switch(Type)
|
||||
switch (Type)
|
||||
{
|
||||
case CipherType.Login:
|
||||
Login = new LoginApi
|
||||
@@ -87,11 +87,11 @@ namespace Bit.Core.Models.Request
|
||||
LastUsedDate = ph.LastUsedDate
|
||||
}).ToList();
|
||||
|
||||
if(cipher.Attachments != null)
|
||||
if (cipher.Attachments != null)
|
||||
{
|
||||
Attachments = new Dictionary<string, string>();
|
||||
Attachments2 = new Dictionary<string, AttachmentRequest>();
|
||||
foreach(var attachment in cipher.Attachments)
|
||||
foreach (var attachment in cipher.Attachments)
|
||||
{
|
||||
var fileName = attachment.FileName?.EncryptedString;
|
||||
Attachments.Add(attachment.Id, fileName);
|
||||
|
||||
Reference in New Issue
Block a user