mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-25 12:05:59 +01:00
clear Send password if whitespace (#1292)
* clear Send password if whitespace * Update SendAddEditPageViewModel.cs
This commit is contained in:
parent
6fa23475e3
commit
1098686d51
@ -337,6 +337,11 @@ namespace Bit.App.Pages
|
||||
|
||||
UpdateSendData();
|
||||
|
||||
if (string.IsNullOrWhiteSpace(NewPassword))
|
||||
{
|
||||
NewPassword = null;
|
||||
}
|
||||
|
||||
var (send, encryptedFileData) = await _sendService.EncryptAsync(Send, FileData, NewPassword);
|
||||
if (send == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user