mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
null ref check
This commit is contained in:
parent
726db336a8
commit
144d932591
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ namespace Bit.iOS.Services
|
|||
|
||||
public void CopyToClipboard(string text)
|
||||
{
|
||||
if(text == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
UIPasteboard clipboard = UIPasteboard.General;
|
||||
clipboard.String = text;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue