feat: update dependency, replace obsoleted math utilities.
This commit is contained in:
@@ -540,7 +540,7 @@ public class IPv4Box: TemplatedControl
|
||||
IClipboard? clipboard = TopLevel.GetTopLevel(this)?.Clipboard;
|
||||
if (clipboard is null) return;
|
||||
var s = await clipboard.GetTextAsync();
|
||||
if (IPAddress.TryParse(s, out var address))
|
||||
if (s is not null && IPAddress.TryParse(s, out var address))
|
||||
{
|
||||
IPAddress = address;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user