From 7ab247db019a804a3cb8d9aca9b02be81c5de73c Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 2 Jun 2016 00:28:41 -0400 Subject: [PATCH] NullValueHandling for fillScript --- src/iOS.Extension/ActionViewController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iOS.Extension/ActionViewController.cs b/src/iOS.Extension/ActionViewController.cs index 90b9717ed..7b5ac021c 100644 --- a/src/iOS.Extension/ActionViewController.cs +++ b/src/iOS.Extension/ActionViewController.cs @@ -142,7 +142,7 @@ namespace Bit.iOS.Extension || ProviderType == UTTypeAppExtensionFillWebViewAction) { var fillScript = new FillScript(Details); - var scriptJson = JsonConvert.SerializeObject(fillScript); + var scriptJson = JsonConvert.SerializeObject(fillScript, new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }); itemData = new NSDictionary(AppExtensionWebViewPageFillScript, scriptJson); } else if(ProviderType == UTTypeAppExtensionSaveLoginAction)