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:
parent
ae5b637786
commit
7ab247db01
@ -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 New Issue
Block a user