mirror of
https://github.com/bitwarden/android.git
synced 2024-12-21 00:31:58 +03:00
NullValueHandling for fillScript
This commit is contained in:
parent
ae5b637786
commit
7ab247db01
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ namespace Bit.iOS.Extension
|
||||||
|| ProviderType == UTTypeAppExtensionFillWebViewAction)
|
|| ProviderType == UTTypeAppExtensionFillWebViewAction)
|
||||||
{
|
{
|
||||||
var fillScript = new FillScript(Details);
|
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);
|
itemData = new NSDictionary(AppExtensionWebViewPageFillScript, scriptJson);
|
||||||
}
|
}
|
||||||
else if(ProviderType == UTTypeAppExtensionSaveLoginAction)
|
else if(ProviderType == UTTypeAppExtensionSaveLoginAction)
|
||||||
|
|
Loading…
Reference in a new issue