1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-08 11:33:31 +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:
Thomas Rittson
2021-03-30 02:01:42 +10:00
committed by GitHub
parent 13ffbe911a
commit 04aeddc5de
12 changed files with 96 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ namespace Bit.Core.Models.Request
public SendFileApi File { get; set; }
public string Password { get; set; }
public bool Disabled { get; set; }
public bool HideEmail { get; set; }
public SendRequest(Send send, long? fileLength)
{
@@ -32,6 +33,7 @@ namespace Bit.Core.Models.Request
Key = send.Key?.EncryptedString;
Password = send.Password;
Disabled = send.Disabled;
HideEmail = send.HideEmail;
switch (Type)
{