1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-22 11:35:21 +01:00

NullValueHandling for fillScript

This commit is contained in:
Kyle Spearrin 2016-06-02 00:28:41 -04:00
parent ae5b637786
commit 7ab247db01

View File

@ -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)