mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
Hide email address in Sends (#1340)
* Add HideEmail model properties and locale strings * Fix UI strings * Add HideEmail to SendService * Add HideEmail option to UI * Tidy up declarations * Add Bitwarden Send translation warning
This commit is contained in:
@@ -21,6 +21,7 @@ namespace Bit.Core.Models.View
|
||||
ExpirationDate = send.ExpirationDate;
|
||||
Disabled = send.Disabled;
|
||||
Password = send.Password;
|
||||
HideEmail = send.HideEmail;
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
@@ -45,5 +46,6 @@ namespace Bit.Core.Models.View
|
||||
public bool Expired => ExpirationDate.HasValue && ExpirationDate.Value <= DateTime.UtcNow;
|
||||
public bool PendingDelete => DeletionDate <= DateTime.UtcNow;
|
||||
public string DisplayDate => DeletionDate.ToLocalTime().ToString("MMM d, yyyy, h:mm tt");
|
||||
public bool HideEmail { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user