mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
null ref check
This commit is contained in:
@@ -58,6 +58,10 @@ namespace Bit.iOS.Services
|
||||
|
||||
public void CopyToClipboard(string text)
|
||||
{
|
||||
if(text == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
UIPasteboard clipboard = UIPasteboard.General;
|
||||
clipboard.String = text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user